Merge pull request #47234 from Ma27/fix-tig-zsh-completion
tig: fix zsh completion
This commit is contained in:
commit
e1ef438026
@ -31,6 +31,10 @@ stdenv.mkDerivation rec {
|
||||
installPhase = ''
|
||||
make install
|
||||
make install-doc
|
||||
|
||||
substituteInPlace contrib/tig-completion.zsh \
|
||||
--replace 'e=$(dirname ''${funcsourcetrace[1]%:*})/tig-completion.bash' "e=$out/etc/bash_completion.d/tig-completion.bash"
|
||||
|
||||
install -D contrib/tig-completion.bash $out/etc/bash_completion.d/tig-completion.bash
|
||||
install -D contrib/tig-completion.zsh $out/share/zsh/site-functions/_tig
|
||||
cp contrib/vim.tigrc $out/etc/
|
||||
|
Loading…
Reference in New Issue
Block a user