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 "$@"