diff --git a/completions/git.completion.sh b/completions/git.completion.sh index e3918c87e3adf32a9d7a4f0320c92c497376b9b5..e83de04522151c15555f1ebd7f8a90ae2e4bf04a 100644 --- a/completions/git.completion.sh +++ b/completions/git.completion.sh @@ -624,7 +624,7 @@ __git_commands () { then printf "%s" "${GIT_TESTING_COMMAND_COMPLETION}" else - git help -a|egrep '^ [a-zA-Z0-9]' + git help -a|egrep "^ [a-z]*"|cut -d" " -f4 fi }