Permalink
Browse files

Add clean to <TAB>-completions list

  • Loading branch information...
1 parent 09b0f8d commit 2cd2dda36c56c9b55bfc10d1677968b06586dbd6 @timothyasp timothyasp committed Feb 16, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 bash_completion.sh
View
@@ -10,15 +10,15 @@ _git-scripts()
case "$cmd" in
feature)
if [ "$line" = "$cmd $cur" ]; then
- words="switch start finish stashes list merge pull status"
+ words="switch start finish stashes list merge pull status clean"
else
# get branch names minus hotfixes
words="$(git branch -a | tr -d ' *' | grep -v 'hotfix-' | sed 's|remotes/origin/||')"
fi
;;
hotfix)
if [ "$line" = "$cmd $cur" ]; then
- words="switch start finish merge list"
+ words="switch start finish merge list clean"
else
# get hotfix branch names
words="$(git branch -a | tr -d ' *' | grep 'hotfix-' | sed -e 's|remotes/origin/||' -e 's|hotfix-||')"

0 comments on commit 2cd2dda

Please sign in to comment.