From 2cd2dda36c56c9b55bfc10d1677968b06586dbd6 Mon Sep 17 00:00:00 2001 From: Timothy Asp Date: Fri, 15 Feb 2013 23:05:38 -0700 Subject: [PATCH] Add clean to -completions list --- bash_completion.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bash_completion.sh b/bash_completion.sh index 9571ec1..403e51a 100755 --- a/bash_completion.sh +++ b/bash_completion.sh @@ -10,7 +10,7 @@ _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/||')" @@ -18,7 +18,7 @@ _git-scripts() ;; 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-||')"