diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-06-13 11:26:07 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-06-13 11:26:07 +0000 |
commit | 428abf6455c9df0dfaca05165764eb842da7e2d9 (patch) | |
tree | 372d65250fb196a2a6506c7097ac279f00534c73 /Doc/Zsh/compsys.yo | |
parent | a2417f68636e69c4ba5c9ae441277b84619314b6 (diff) | |
download | zsh-428abf6455c9df0dfaca05165764eb842da7e2d9.tar.gz zsh-428abf6455c9df0dfaca05165764eb842da7e2d9.tar.xz zsh-428abf6455c9df0dfaca05165764eb842da7e2d9.zip |
new style `suffix'; use accept-exact style in _expand (?)
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 24ada7446..82975e0fd 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -779,6 +779,12 @@ This is tested for the default tag and the tags used when generating matches. If it is set to `true' for at least one match which is the same as the string on the line, this match will immediately be accepted. + +Note that this is also used by the tt(_expand) completer to decide if +words beginning with a tilde or parameter expansion should be +expanded. This means that if, for example, there are parameters +tt(foo) and tt(foobar), the string `tt($foo)' will only be expanded if +tt(accept-exact) is set to `true'. ) kindex(add-space, completion style) item(tt(add-space))( @@ -1786,6 +1792,14 @@ example(zstyle ':completion:*:expand:::' substitute '${NUMERIC:-1} != 1') substitution will be performed only if given an explicit numeric argument other than `tt(1)', as by typing `tt(ESC 2 TAB)'. ) +kindex(suffix, completion style) +item(tt(suffix))( +This is used by the tt(_expand) completer if the word starts with a +tilde or parameter expansion. If it is set to `true', the word will +only be expanded if it doesn't have a suffix, i.e. if it is something +like `tt(~foo)' or `tt($foo)', but not if it is `tt(~foo/)' or +`tt($foo/bar)'. The default for this style is `false'. +) kindex(tag-order, completion style) item(tt(tag-order))( This provides a mechanism for sorting how the tags available in a |