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 | f5e0ac3717b9d5ff12fb9585fb238172783a2ecd (patch) | |
tree | 7f3c1c852d73cd04711e93d517b8499475262591 /Completion/User/_other_accounts | |
parent | 9935b52b36e69a2ac0047af3113243ae8ec7e544 (diff) | |
download | zsh-f5e0ac3717b9d5ff12fb9585fb238172783a2ecd.tar.gz zsh-f5e0ac3717b9d5ff12fb9585fb238172783a2ecd.tar.xz zsh-f5e0ac3717b9d5ff12fb9585fb238172783a2ecd.zip |
zsh-workers/8048
Diffstat (limited to 'Completion/User/_other_accounts')
-rw-r--r-- | Completion/User/_other_accounts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Completion/User/_other_accounts b/Completion/User/_other_accounts new file mode 100644 index 000000000..b73515fcd --- /dev/null +++ b/Completion/User/_other_accounts @@ -0,0 +1,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 |