Merge pull request #68366 from sorbits/git-bash-completion
Install git’s bash completion so that it is loaded on demand
This commit is contained in:
commit
0c1cef2f11
1 changed files with 2 additions and 1 deletions
|
@ -141,8 +141,9 @@ stdenv.mkDerivation {
|
|||
cp -a contrib $out/share/git/
|
||||
mkdir -p $out/share/emacs/site-lisp
|
||||
ln -s "$out/share/git/contrib/emacs/"*.el $out/share/emacs/site-lisp/
|
||||
mkdir -p $out/share/bash-completion/completions
|
||||
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-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
|
||||
|
|
Loading…
Reference in a new issue