Bash completion script for util commands
PATCH 1/1 Bash completion script for util commands
* Makefile.am: Add util/bash-completion.d directory
* configure.ac: Likewise.
* util/bash-completion.d/Makefile.am: New file.
* util/bash-completion.d/grub-completion.bash.in: Likewise.
--- util/bash-completion.d/Makefile.am | 13 + util/bash-completion.d/grub-completion.bash.in | 467 ++++++++++++++++++++++++ 2 files changed, 480 insertions(+), 0 deletions(-) create mode 100644 util/bash-completion.d/Makefile.am create mode 100644 util/bash-completion.d/grub-completion.bash.in
ChangeLog.completion.bash new file +6 -0
@@ -0,0 +1,6 @@ +Bash completion script for util commands + + * Makefile.am: Add util/bash-completion.d directory + * configure.ac: Likewise. + * util/bash-completion.d/Makefile.am: New file. + * util/bash-completion.d/grub-completion.bash.in: Likewise.
Makefile.am +1 -1
@@ -1,7 +1,7 @@ AUTOMAKE_OPTIONS = subdir-objects DEPDIR = .deps-util -SUBDIRS = . grub-core po docs +SUBDIRS = . grub-core po docs util/bash-completion.d include $(top_srcdir)/conf/Makefile.common include $(top_srcdir)/conf/Makefile.extra-dist
configure.ac +1 -0
@@ -944,6 +944,7 @@ AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([grub-core/Makefile]) AC_CONFIG_FILES([po/Makefile]) AC_CONFIG_FILES([docs/Makefile]) +AC_CONFIG_FILES([util/bash-completion.d/Makefile]) AC_CONFIG_FILES([stamp-h], [echo timestamp > stamp-h]) AC_OUTPUT
util/bash-completion.d/Makefile.am new file +13 -0
@@ -0,0 +1,13 @@ + +bash_completion_source = grub-completion.bash.in +bash_completion_script = grub + +EXTRA_DIST = $(bash_completion_source) + +CLEANFILES = $(bash_completion_script) + +bashcompletiondir = $(sysconfdir)/bash_completion.d +bashcompletion_DATA = $(bash_completion_script) + +$(bash_completion_script): $(bash_completion_source) $(top_builddir)/config.status + $(top_builddir)/config.status --file=$@:$<
util/bash-completion.d/grub-completion.bash.in new file +467 -0
467 lines not on this page · raw message