diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-08 08:44:52 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-08 08:44:52 +0000 |
commit | bedd4cf2c57a89bec8bd98e6ed65082164b69d93 (patch) | |
tree | d7a24e4699e0574717e9f156e63212047cf2ccba /Doc/Zsh/compsys.yo | |
parent | 92637abbb870dc35e1af9150741f7b11587a3350 (diff) | |
download | zsh-bedd4cf2c57a89bec8bd98e6ed65082164b69d93.tar.gz zsh-bedd4cf2c57a89bec8bd98e6ed65082164b69d93.tar.xz zsh-bedd4cf2c57a89bec8bd98e6ed65082164b69d93.zip |
make _expand call _complete when called from _expand_word; add ignore-line style to ignore words already on the line (11244)
Diffstat (limited to 'Doc/Zsh/compsys.yo')
-rw-r--r-- | Doc/Zsh/compsys.yo | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index c741959ce..cdfb681bc 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -1175,6 +1175,17 @@ depending on the information already on the line, so that if, for example, the hostname is already typed, only those ports will be completed for which pairs with the hostname from the line exist. ) +kindex(ignore-line, completion style) +item(tt(ignore-line))( +This style is tested for the tags used when generating matches. If it +is set to `true', then none of the words that are already on the line +will be considered possible completions. + +Note that you almost certainly don't want to set this for a general +context such as `tt(:completion:*)'. This because it would disallow +completion of, for example, options multiple times even if the command +in question accepts the option more than once. +) kindex(ignore-parents, completion style) item(tt(ignore-parents))( The style is tested for the tt(files) tag to determine whether to ignore |