From d30c97096bf6c6faed7c5906ecb435a04f04871c Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Tue, 11 Sep 2018 18:48:19 +0900 Subject: [PATCH] gitAndTools.git-extras: install zsh completion because there are so many freaking commands ! --- .../version-management/git-and-tools/git-extras/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/version-management/git-and-tools/git-extras/default.nix b/pkgs/applications/version-management/git-and-tools/git-extras/default.nix index 1ea60272c338..7b6dd8aacb44 100644 --- a/pkgs/applications/version-management/git-and-tools/git-extras/default.nix +++ b/pkgs/applications/version-management/git-and-tools/git-extras/default.nix @@ -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";