From b83fc85f9f40d9a5dff5b0d3ef38c1b93bd4c7e3 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 14 Jan 2018 17:23:00 +0000 Subject: etc: Add completions for fish. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure.ac') 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]) -- cgit v1.2.3