diff --git a/completion/bash b/completion/bash index 8f5bb349..ee2abbbb 100644 --- a/completion/bash +++ b/completion/bash @@ -6,7 +6,7 @@ _terminator() _init_completion || return COMPREPLY=($(compgen -W "$($1 --help | tr ',' '\n' | - command sed -n -e 's/ *\(--\?[a-zA-Z\-]\+=\?\).*/\1/p')"\ + command sed -n -e 's/^ *\(--\?[a-zA-Z\-]\+=\?\).*/\1/p')"\ -- "$cur")) } && complete -F _terminator terminator