mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 16:50:58 +01:00
moved to Completion/Unix/Type/_my_accounts
This commit is contained in:
parent
55178af5ea
commit
a62c22111a
1 changed files with 0 additions and 14 deletions
|
|
@ -1,14 +0,0 @@
|
||||||
#autoload
|
|
||||||
|
|
||||||
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=( $my_accounts )
|
|
||||||
fi
|
|
||||||
|
|
||||||
_user@host
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue