tig: add zsh completion
along with contrib/vim.tigrc config in case users want to use it.
This commit is contained in:
parent
dae9cf6106
commit
a66a44186f
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue