diff options
author | Tor Hedin Brønner <torhedinbronner@gmail.com> | 2018-12-21 23:23:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-21 23:23:39 +0100 |
commit | 8ed71e836af37a5e79e61ae25d448e542a4c8c7d (patch) | |
tree | b8a723ab977e1354b55bb778c3da8039c37f295e /pkgs/applications/version-management/mercurial | |
parent | 284df609869c295e4226ce534fffb5cf323ac3b8 (diff) | |
parent | 3ce8b3cb3b65ae5241b8cdbd93329c0ee34bfaf7 (diff) |
Merge pull request #51712 from dtzWill/fix/mercurial-zsh-completions
mercurial: install zsh completions
Diffstat (limited to 'pkgs/applications/version-management/mercurial')
-rw-r--r-- | pkgs/applications/version-management/mercurial/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/version-management/mercurial/default.nix b/pkgs/applications/version-management/mercurial/default.nix index d59b7241230e0..f5127094bc9de 100644 --- a/pkgs/applications/version-management/mercurial/default.nix +++ b/pkgs/applications/version-management/mercurial/default.nix @@ -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 = { |