From e6027db32634e459510ab02a6ffbd9df68599bc3 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 2 Jun 2008 11:35:46 +0000 Subject: users/12858: missing doc for accept-exact-dirs --- ChangeLog | 5 +++++ Doc/Zsh/compsys.yo | 14 ++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7d21a69ac..3ee6bc97e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-02 Peter Stephenson + + * users/12858: Doc/Zsh/compsys.yo: this bit didn't + get committed. + 2008-06-01 Peter Stephenson * 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 -- cgit 1.4.1