summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-08 08:44:52 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-08 08:44:52 +0000
commitbedd4cf2c57a89bec8bd98e6ed65082164b69d93 (patch)
treed7a24e4699e0574717e9f156e63212047cf2ccba /Doc/Zsh
parent92637abbb870dc35e1af9150741f7b11587a3350 (diff)
downloadzsh-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')
-rw-r--r--Doc/Zsh/compsys.yo11
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