Add bash_completion for new git-ignore switches.

This commit is contained in:
nickl- 2012-07-22 03:19:11 +02:00
parent 95630d7fcb
commit 79c8753436

View file

@ -32,6 +32,19 @@ _git_graft(){
__gitcomp "$(__git_heads)"
}
_git_ignore(){
case "$cur" in
--*)
__gitcomp "--global --local"
return
;;
-*)
__gitcomp "--global --local -g -l"
return
;;
esac
}
_git_squash(){
__gitcomp "$(__git_heads)"
}