diff options
-rw-r--r-- | bash/bash_completion.d/git.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bash_completion.d/git.bash b/bash/bash_completion.d/git.bash index 1d584c2f..ba8e5d59 100644 --- a/bash/bash_completion.d/git.bash +++ b/bash/bash_completion.d/git.bash @@ -60,7 +60,7 @@ _git() { COMPREPLY[${#COMPREPLY[@]}]=${ref#refs/*/} done < <(git for-each-ref \ --format '%(refname)' \ - -- 'refs/*/'"${COMP_WORDS[COMP_CWORD]}"'*' \ + -- 'refs/**/'"${COMP_WORDS[COMP_CWORD]}"'*' \ 2>/dev/null) return ;; |