mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-27 14:11:14 +01:00
14 lines
264 B
Text
14 lines
264 B
Text
#compdef ytalk finger
|
|
|
|
local expl nm="$compstate[nmatches]"
|
|
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@host
|