mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-10-19 04:03:21 +02:00
parent
3bfdbea881
commit
6b1c8e8036
|
@ -155,12 +155,6 @@ stdenv.mkDerivation {
|
|||
ln -s $out/share/git/contrib/completion/git-completion.bash $out/share/bash-completion/completions/git
|
||||
mkdir -p $out/etc/bash_completion.d
|
||||
ln -s $out/share/git/contrib/completion/git-prompt.sh $out/etc/bash_completion.d/
|
||||
mkdir -p $out/share/zsh/site-functions
|
||||
ln -s $out/share/git/contrib/completion/git-completion.zsh $out/share/zsh/site-functions/_git
|
||||
|
||||
# Patch the zsh completion script so it can find the Bash completion script.
|
||||
sed -i -e "/locations=(/a \${"\t\t"}'$out/share/git/contrib/completion/git-completion.bash'" \
|
||||
$out/share/git/contrib/completion/git-completion.zsh
|
||||
|
||||
# grep is a runtime dependency, need to patch so that it's found
|
||||
substituteInPlace $out/libexec/git-core/git-sh-setup \
|
||||
|
|
Loading…
Reference in a new issue