diff options
author | ng0 <ng0@n0.is> | 2018-01-14 17:23:00 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-01-16 16:00:20 +0100 |
commit | b83fc85f9f40d9a5dff5b0d3ef38c1b93bd4c7e3 (patch) | |
tree | 2c5474f44498bb0ad809a30df96b723857bb9702 /configure.ac | |
parent | 889b4af7d89a8ce0f05e210b6bd2212f787659a4 (diff) | |
download | guix-b83fc85f9f40d9a5dff5b0d3ef38c1b93bd4c7e3.tar.gz |
etc: Add completions for fish.
* etc/completion/fish/guix.fish: New file. * Makefile.am: Register the file. * configure.ac: Add the fish vendor-completions directory. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 53efa4a684..1e39122483 100644 --- a/configure.ac +++ b/configure.ac @@ -47,6 +47,13 @@ AC_ARG_WITH([zsh-completion-dir], [zshcompletiondir='${datadir}/zsh/site-functions']) AC_SUBST([zshcompletiondir]) +AC_ARG_WITH([fish-completion-dir], + AC_HELP_STRING([--with-fish-completion-dir=DIR], + [name of the Fish completion directory]), + [fishcompletiondir="$withval"], + [fishcompletiondir='${datadir}/fish/vendor_completions.d']) +AC_SUBST([fishcompletiondir]) + dnl Better be verbose. AC_MSG_CHECKING([for the store directory]) AC_MSG_RESULT([$storedir]) |