summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-06-02 11:35:46 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-06-02 11:35:46 +0000
commite6027db32634e459510ab02a6ffbd9df68599bc3 (patch)
tree6d147a46fe40eba34fc0fc7207c26c5b95220481
parent960f24933e64e2ae5989866ea675b069707d0353 (diff)
downloadzsh-e6027db32634e459510ab02a6ffbd9df68599bc3.tar.gz
zsh-e6027db32634e459510ab02a6ffbd9df68599bc3.tar.xz
zsh-e6027db32634e459510ab02a6ffbd9df68599bc3.zip
users/12858: missing doc for accept-exact-dirs
-rw-r--r--ChangeLog5
-rw-r--r--Doc/Zsh/compsys.yo14
2 files changed, 19 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7d21a69ac..3ee6bc97e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-02  Peter Stephenson  <pws@csr.com>
+
+	* users/12858: Doc/Zsh/compsys.yo: this bit didn't
+	get committed.
+
 2008-06-01  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* 25127: README: note the changes in 25124 and 25126 as
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index cfae6578a..59be912f6 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -1098,6 +1098,20 @@ be allowed to complete tt($foo) to tt($foobar). If the style is set to
 `continue', _expand will add the expansion as a match and the completion
 system will also be allowed to continue.
 )
+kindex(accept-exact-dirs, completion style)
+item(tt(accept-exact-dirs))(
+This is used by filename completion.  Unlike tt(accept-exact) it is
+a boolean.  By default, filename completion examines all components
+of a path to see if there are completions of that component, even if
+the component matches an existing directory.  For example, when
+completion after tt(/usr/bin/), the function examines possible
+completions to tt(/usr).
+
+When this style is true, any prefix of a path that matches an existing
+directory is accepted without any attempt to complete it further.
+Hence, in the given example, the path tt(/usr/bin/) is accepted
+immediately and completion tried in that directory.
+)
 kindex(add-space, completion style)
 item(tt(add-space))(
 This style is used by the tt(_expand) completer.  If it is true (the