mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-01 18:30:55 +01:00
13 lines
246 B
Text
13 lines
246 B
Text
#compdef talk ntalk ytalk finger
|
|
|
|
local accounts_users_hosts
|
|
|
|
local varname="$words[1]_accounts"
|
|
|
|
if [[ ${(P)+varname} -eq 1 ]]; then
|
|
accounts_users_hosts=( ${(P)varname} )
|
|
else
|
|
accounts_users_hosts=( $other_accounts )
|
|
fi
|
|
|
|
_user_at_host "$@"
|