about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-27 13:37:05 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-27 13:37:05 +0000
commitb6643f59766afbb6287e9b4a44f5171a9868fe0b (patch)
tree19bcee249d62bb5bbb0d999e5fa791f3985907ba /Doc
parent62ee3826d91d61f5a2ff86e43598506efcaaaf51 (diff)
downloadzsh-b6643f59766afbb6287e9b4a44f5171a9868fe0b.tar.gz
zsh-b6643f59766afbb6287e9b4a44f5171a9868fe0b.tar.xz
zsh-b6643f59766afbb6287e9b4a44f5171a9868fe0b.zip
zsh-workers/8064
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/compsys.yo24
1 files changed, 24 insertions, 0 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index d02381633..6ad469363 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -1252,6 +1252,30 @@ An array holding the service names of ports to complete. If this is
 not set by the user, it will be set to a list of the service names
 from `tt(/etc/services)'.
 )
+item(tt(my_accounts))(
+This array is used for completion of usernames and hostnames for many
+commands, including the tt(ssh) and tt(rlogin) family. It should
+contain elements of the form `var(host)tt(:)var(user)', corresponding
+to the user's own accounts. These pairs will be used to complete names
+of hosts and usernames depending on the information already on the
+line, so that if, for example, the username is already typed, only
+those hostnames will be completed for which pairs with the username
+from the line exist.
+)
+item(tt(other_accounts))(
+Like tt(my_accounts), except that it should contain the usernames and
+hostnames of other people's accounts, for use with commands such as
+tt(talk), tt(ytalk) and tt(finger).
+)
+item(var(command)tt(_accounts))(
+Any of the commands which use the above tt(my_accounts) and
+tt(other_accounts) arrays can have this behaviour overridden by
+specifying a username/hostname array unique to that command.
+For example, if you wanted tt(rcp) to complete usernames and hostnames
+from a different set of accounts, you could set the array
+tt(rcp_accounts) with username/hostname pairs in the same format as
+tt(my_accounts).
+)
 item(tt(telnet_hosts_ports_users))(
 This array is used by the completion function for tt(telnet). It
 should contain elements of the form