tig: add zsh completion

along with contrib/vim.tigrc config in case users want to use it.
This commit is contained in:
Matthieu Coudron 2018-07-11 16:08:52 +09:00
parent dae9cf6106
commit a66a44186f

View file

@ -33,6 +33,9 @@ stdenv.mkDerivation rec {
make install-doc
mkdir -p $out/etc/bash_completion.d/
cp contrib/tig-completion.bash $out/etc/bash_completion.d/
mkdir -p $out/share/zsh/site-functions
cp contrib/tig-completion.zsh $out/share/zsh/site-functions/
cp contrib/vim.tigrc $out/etc/
wrapProgram $out/bin/tig \
--prefix PATH ':' "${git}/bin"