diff options
| author | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-26 14:26:08 +0000 |
|---|---|---|
| committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-26 14:26:08 +0000 |
| commit | 2149b00fdb53ade99a5ec4f54004a677f08fe6c1 (patch) | |
| tree | 6f1e86d9cbfacbec0fe4819b8276043fe67a39d2 /Completion/User/_my_accounts | |
| parent | Initial revision (diff) | |
| download | zsh-2149b00fdb53ade99a5ec4f54004a677f08fe6c1.tar zsh-2149b00fdb53ade99a5ec4f54004a677f08fe6c1.tar.gz zsh-2149b00fdb53ade99a5ec4f54004a677f08fe6c1.tar.bz2 zsh-2149b00fdb53ade99a5ec4f54004a677f08fe6c1.tar.lz zsh-2149b00fdb53ade99a5ec4f54004a677f08fe6c1.tar.xz zsh-2149b00fdb53ade99a5ec4f54004a677f08fe6c1.tar.zst zsh-2149b00fdb53ade99a5ec4f54004a677f08fe6c1.zip | |
Initial revision
Diffstat (limited to 'Completion/User/_my_accounts')
| -rw-r--r-- | Completion/User/_my_accounts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Completion/User/_my_accounts b/Completion/User/_my_accounts new file mode 100644 index 000000000..91ab88cc1 --- /dev/null +++ b/Completion/User/_my_accounts @@ -0,0 +1,14 @@ +#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 |
