Merge pull request #46519 from teto/git_extra_zsh_completion

gitAndTools.git-extras: install zsh completion
This commit is contained in:
Matthew Bauer 2018-09-29 00:51:01 -05:00 committed by GitHub
commit 61d7b93e3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
installFlags = [ "DESTDIR=$(out) PREFIX=" ];
postInstall = ''
install -D etc/git-extras-completion.zsh $out/share/zsh/site-functions/_git_extras
'';
meta = with stdenv.lib; {
homepage = https://github.com/tj/git-extras;
description = "GIT utilities -- repo summary, repl, changelog population, author commit percentages and more";