aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-06-09 11:38:20 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-06-09 11:38:20 -0400
commit18e35afc882d2628b599b2778d9fb4a0a0569f13 (patch)
tree19f102a380501c673b81285a766875777f591a67 /CHANGELOG
parenta7d1d1d76ce2f776b976b64e74b822cef8b98fe2 (diff)
zsh and fish completions
optparse-applicative-0.14.0.0 adds support for these, so have the Makefile install their scripts when built with it. CmdLine/GitAnnex/Options.hs now uses action "file" in cmdParams, which affects the bash and zsh completions, letting them complete filenames for subcommands that use that. This is not needed for bash, since bash-completion.bash enables -o bashdefault, which lets it complete filenames too. But it does not seem to break the bash completions. It is needed for zsh; the zsh completion otherwise does not complete filenames. The fish completion will always complete filenames no matter what. Messy. This commit was sponsored by Denis Dzyubenko on Patreon.
Diffstat (limited to 'CHANGELOG')
-rw-r--r--CHANGELOG2
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 791034fe8..d84b3cb8c 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -25,6 +25,8 @@ git-annex (6.20170520) UNRELEASED; urgency=medium
* assistant: Merge changes from refs/remotes/foo/master into master.
Previously, only sync branches were merged. This makes regular git push
into a repository watched by the assistant auto-merge.
+ * Makefile: Install completions for the fish and zsh shells
+ when git-annex is built with optparse-applicative-0.14.
-- Joey Hess <id@joeyh.name> Wed, 24 May 2017 14:03:40 -0400