zsh-forgit: add completions

This commit is contained in:
Weijia Wang 2023-07-06 12:55:53 +03:00
parent dd05cbb4bd
commit 024afa2e99

View File

@ -37,6 +37,8 @@ stdenv.mkDerivation rec {
runHook preInstall
install -D bin/git-forgit $out/bin/git-forgit
install -D completions/_git-forgit $out/share/zsh/site-functions/_git-forgit
install -D completions/git-forgit.zsh $out/share/zsh/${pname}/git-forgit.zsh
install -D forgit.plugin.zsh $out/share/zsh/${pname}/forgit.plugin.zsh
wrapProgram $out/bin/git-forgit \
--prefix PATH : ${lib.makeBinPath [ bash coreutils findutils fzf git gnugrep gnused ]}