From bedd4cf2c57a89bec8bd98e6ed65082164b69d93 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Mon, 8 May 2000 08:44:52 +0000 Subject: make _expand call _complete when called from _expand_word; add ignore-line style to ignore words already on the line (11244) --- Doc/Zsh/compsys.yo | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Doc/Zsh/compsys.yo') 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 -- cgit v1.2.3