[Bash-completion-devel] [SCM] bash-completion branch, master, updated. 1.3-358-g7bcf9a4

Ville Skyttä ville.skytta at iki.fi
Sun Jun 12 10:14:45 UTC 2011


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.



More information about the Bash-completion-devel mailing list