about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorPaul Ackersviller <packersv@users.sourceforge.net>2007-09-19 02:28:13 +0000
committerPaul Ackersviller <packersv@users.sourceforge.net>2007-09-19 02:28:13 +0000
commit5cb2dcae4156362ce175dc09356b0ca61f7efec9 (patch)
tree133fa5ec4ab417638de755f4e143afc7bd022d7c /Doc
parent4a15decf6e40b029ccd388a403d7fdfc23b3b787 (diff)
downloadzsh-5cb2dcae4156362ce175dc09356b0ca61f7efec9.tar.gz
zsh-5cb2dcae4156362ce175dc09356b0ca61f7efec9.tar.xz
zsh-5cb2dcae4156362ce175dc09356b0ca61f7efec9.zip
Merge of 22402: use-ip and known-hosts-files styles.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/compsys.yo17
1 files changed, 17 insertions, 0 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index f798bd759..f0bbc56c3 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -1665,6 +1665,13 @@ previous line if this style is `true' for all types of match.  Note
 that unlike the tt(ALWAYS_LAST_PROMPT) option this is independent of the
 numeric prefix argument.
 )
+kindex(known-hosts-files)
+item(tt(known-hosts-files))(
+This style should contain a list of files to search for host names and
+(if the tt(use-ip) style is set) IP addresses in a format compatible with
+ssh tt(known_hosts) files.  If it is not set, the files
+tt(/etc/ssh/ssh_known_hosts) and tt(~/.ssh/known_hosts) are used.
+)
 kindex(list, completion style)
 item(tt(list))(
 This style is used by the tt(_history_complete_word) bindable command.
@@ -2498,6 +2505,16 @@ command tt(foo), tt(compctl) will never be invoked for tt(foo).
 However, the tt(compctl) version will be tried if tt(foo) only uses
 default completion.
 )
+kindex(use-ip, completion style)
+item(tt(use-ip))(
+By default, the function tt(_hosts) that completes host names strips
+IP addresses from entries read from host databases such as NIS and
+ssh files.  If this style is true, the corresponding IP addresses
+can be completed as well.  This style is not use in any context
+where the tt(hosts) style is set; note also it must be set before
+the cache of host names is generated (typically the first completion
+attempt).
+)
 kindex(use-perl, completion style)
 item(tt(use-perl))(
 Various parts of the function system use awk to extract words from