Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Problems with _arguments



This little completion stopped to work. I suspect new computil module ...
Anything as simple as

sudo umo<TAB>    (implying umount) or
sudo ls S<TAB>   (where S* exists 'course)

#compdef sudo

_arguments \
        '-V[show version]' \
        '-l[list commands]' \
        '-h[show help]' \
        '-v[validate timestamp file]' \
        '-k[remove timestamp file]' \
        '-b[run command in background]' \
        '-r:Kerberos realm:' \
        '-p:prompt:' \
        '-u:user name:_users' \
        '-s[run SHELL]' \
        '-H[set HOME environment variable]' \
        '*::complete command and/or arguments:_normal'

/andrej



Messages sorted by: Reverse Date, Date, Thread, Author