diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-06-16 07:38:59 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-06-16 07:38:59 +0000 |
commit | ae2b3953df36a9f95e268906b736b407a2739784 (patch) | |
tree | f445c457edf6960aa21646d6d3a7ffa7b8100268 /Doc/Zsh/compsys.yo | |
parent | 0b892d4492257bab203435afba1aefe791a9f445 (diff) | |
download | zsh-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.yo | 12 |
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. |