# HG changeset patch # User Thomas Arendsen Hein # Date 1132729647 -3600 # Node ID 561b17b7d3a2f3e3cb8a48ddecc28352d4e56db0 # Parent 01a5121a005a7efb991ff1d35f9b4ce6cb76896c Space/Tab cleanup in bash_completion. diff --git a/contrib/bash_completion b/contrib/bash_completion --- a/contrib/bash_completion +++ b/contrib/bash_completion @@ -7,7 +7,7 @@ shopt -s extglob all=($(hg --debug help | sed -e '1,/^list of commands:/d' \ -e '/^global options:/,$d' \ -e '/^ [^ ]/!d; s/^ //; s/[,:]//g;')) - + commands="${all[*]##debug*}" result=$(compgen -W "${commands[*]}" -- "$cur") @@ -168,7 +168,7 @@ shopt -s extglob fi ;; *) - COMPREPLY=(${COMPREPLY[@]:-} $( compgen -f -- "$cur" )) + COMPREPLY=(${COMPREPLY[@]:-} $( compgen -f -- "$cur" )) ;; esac