blob: b73515fcd73d3e7b9078ed79bc2a2259d1ae651f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#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
|