diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-06-02 11:35:46 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-06-02 11:35:46 +0000 |
commit | e6027db32634e459510ab02a6ffbd9df68599bc3 (patch) | |
tree | 6d147a46fe40eba34fc0fc7207c26c5b95220481 /Doc/Zsh/compsys.yo | |
parent | 960f24933e64e2ae5989866ea675b069707d0353 (diff) | |
download | zsh-e6027db32634e459510ab02a6ffbd9df68599bc3.tar.gz zsh-e6027db32634e459510ab02a6ffbd9df68599bc3.tar.xz zsh-e6027db32634e459510ab02a6ffbd9df68599bc3.zip |
users/12858: missing doc for accept-exact-dirs
Diffstat (limited to 'Doc/Zsh/compsys.yo')
-rw-r--r-- | Doc/Zsh/compsys.yo | 14 |
1 files changed, 14 insertions, 0 deletions
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 |