Mercurial > hg
changeset 1556:561b17b7d3a2
Space/Tab cleanup in bash_completion.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Wed, 23 Nov 2005 08:07:27 +0100 |
parents | 01a5121a005a |
children | f7d9823e65df |
files | contrib/bash_completion |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/bash_completion Wed Nov 23 08:02:35 2005 +0100 +++ b/contrib/bash_completion Wed Nov 23 08:07:27 2005 +0100 @@ -7,7 +7,7 @@ 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 @@ fi ;; *) - COMPREPLY=(${COMPREPLY[@]:-} $( compgen -f -- "$cur" )) + COMPREPLY=(${COMPREPLY[@]:-} $( compgen -f -- "$cur" )) ;; esac