1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-26 16:40:29 +01:00
zsh/Completion/User/_my_accounts
1999-09-29 23:00:20 +00:00

13 lines
220 B
Text

#autoload
local accounts_users_hosts
local varname="$words[1]_accounts"
if [[ ${(P)+varname} -eq 1 ]]; then
accounts_users_hosts=( ${(P)varname} )
else
accounts_users_hosts=( $my_accounts )
fi
_user_at_host "$@"