Merge pull request #51712 from dtzWill/fix/mercurial-zsh-completions

mercurial: install zsh completions
This commit is contained in:
Tor Hedin Brønner 2018-12-21 23:23:39 +01:00 committed by GitHub
commit 8ed71e836a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,8 +49,9 @@ in python2Packages.buildPythonApplication {
cp -v hgweb.cgi contrib/hgweb.wsgi $out/share/cgi-bin
chmod u+x $out/share/cgi-bin/hgweb.cgi
# install bash completion
install -D -v contrib/bash_completion $out/share/bash-completion/completions/mercurial
# install bash/zsh completions
install -v -m644 -D contrib/bash_completion $out/share/bash-completion/completions/_hg
install -v -m644 -D contrib/zsh_completion $out/share/zsh/site-functions/_hg
'';
meta = {