On 06/11/2011 11:06 PM, David Paleino wrote:

> -                COMPREPLY=( $( compgen -W "$(command grep '^["$'\t '"]*site' 
> \
> -                    ~/.sitecopyrc | awk '{print $2}')" -- "$cur" ) )
> +                COMPREPLY=( $( compgen -W "$(sitecopy -v | \
> +                     command sed -n '/^Site:/s/Site: //p')" -- "$cur" ) )

Minor, but should most likely invoke "$1" instead of sitecopy.

_______________________________________________
Bash-completion-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel

Reply via email to