diff --git a/contrib/bash_completion b/contrib/bash_completion --- a/contrib/bash_completion +++ b/contrib/bash_completion @@ -1,5 +1,7 @@ #!/bin/bash +shopt -s extglob + _hg_commands() { local commands="$(hg -v help | sed -e '1,/^list of commands:/d' \