home *** CD-ROM | disk | FTP | other *** search
- # snownews completion by Guillaume Rousse <rousse@ccr.jussieu.fr>
- #
- # $Id: snownews,v 1.2 2005/01/03 03:00:44 ianmacd Exp $
-
- _snownews()
- {
- local cur
-
- COMPREPLY=()
- cur=${COMP_WORDS[COMP_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
-