1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#compdef zlogin _zlogin() { _arguments -s \ '-E[disable escape character]' \ '-e[specify escape character]:character:' \ '-l[specify username]:username:_users' \ ':zonename:' \ - set1 \ '-C[connect to zone console]' \ - set2 \ '-S["safe" login mode]' \ ':utility' } _zlogin "$@"