about summary refs log tree commit diff
path: root/Doc/Zsh/compsys.yo
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-06-16 07:38:59 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-06-16 07:38:59 +0000
commitae2b3953df36a9f95e268906b736b407a2739784 (patch)
treef445c457edf6960aa21646d6d3a7ffa7b8100268 /Doc/Zsh/compsys.yo
parent0b892d4492257bab203435afba1aefe791a9f445 (diff)
downloadzsh-ae2b3953df36a9f95e268906b736b407a2739784.tar.gz
zsh-ae2b3953df36a9f95e268906b736b407a2739784.tar.xz
zsh-ae2b3953df36a9f95e268906b736b407a2739784.zip
enhance ignore-line to ignore all/current/other word(s) (11938)
Diffstat (limited to 'Doc/Zsh/compsys.yo')
-rw-r--r--Doc/Zsh/compsys.yo12
1 files changed, 10 insertions, 2 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index 48cc63db9..0c6f218e9 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -1187,9 +1187,17 @@ 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.
+will be considered possible completions.  If it is set to
+`tt(current)', the word the cursor is on will not be considered a
+possible completion and if it is set to `tt(other)' all words except
+the current one will not be considered to be a possible completion.
 
-Note that you almost certainly don't want to set this for a general
+The value `tt(current)' is a bit like the opposite of the
+tt(accept-exact). It means that only strings with missing characters
+will be completed.
+
+Note that you almost certainly don't want to set this to `true' or
+`tt(other)' for a general
 context such as `tt(:completion:*)'.  This is because it would disallow
 completion of, for example, options multiple times even if the command
 in question accepts the option more than once.