Merge pull request #3678 from ruediger/imp/git

git: Add git-prompt.sh to /etc/bash_completion.d.
This commit is contained in:
Domen Kožar 2014-08-19 17:06:29 +02:00
commit 89f90ce76a

View File

@ -66,6 +66,7 @@ stdenv.mkDerivation {
ln -s "$out/share/git/contrib/emacs/"*.el $out/share/emacs/site-lisp/
mkdir -p $out/etc/bash_completion.d
ln -s $out/share/git/contrib/completion/git-completion.bash $out/etc/bash_completion.d/
ln -s $out/share/git/contrib/completion/git-prompt.sh $out/etc/bash_completion.d/
# grep is a runtime dependency, need to patch so that it's found
substituteInPlace $out/libexec/git-core/git-sh-setup \