# -*- mode: shell-script; sh-basic-offset: 8; indent-tabs-mode: t -*- # ex: ts=8 sw=8 noet filetype=sh # # snownews completion by Guillaume Rousse _snownews() { local cur COMPREPLY=() cur=`_get_cword` if [[ "$cur" == -* ]]; then # return list of available options COMPREPLY=( $( compgen -W '--update --help --version \ --disable-versioncheck -u -h -V' -- $cur)) fi } complete -F _snownews snownews