diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-03 13:13:02 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-03 13:13:02 +0000 |
commit | 8a540b99c5098166e428195cf1426a995faa5e5c (patch) | |
tree | f4b2b606ff9da01541934ee468e762df84aba6b4 | |
parent | bd6aa28b26ee2ab109289775a21a6f6c3177adc0 (diff) | |
download | zsh-8a540b99c5098166e428195cf1426a995faa5e5c.tar.gz zsh-8a540b99c5098166e428195cf1426a995faa5e5c.tar.xz zsh-8a540b99c5098166e428195cf1426a995faa5e5c.zip |
default completer style contains _ignored
-rw-r--r-- | Completion/Core/_main_complete | 2 | ||||
-rw-r--r-- | Doc/Zsh/compsys.yo | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/Completion/Core/_main_complete b/Completion/Core/_main_complete index d9278f435..890638d60 100644 --- a/Completion/Core/_main_complete +++ b/Completion/Core/_main_complete @@ -62,7 +62,7 @@ if (( $# )); then _completers=( "$@" ) else zstyle -a ":completion:${curcontext}:" completer _completers || - _completers=( _complete ) + _completers=( _complete _ignored ) fi # And now just call the completer functions defined. diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index e65a0a692..cf953d103 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -841,8 +841,10 @@ example(zstyle ':completion:*' completer _complete _correct _approximate zstyle ':completion:incremental:*' completer _complete _correct zstyle ':completion:predict:*' completer _complete) -The default value for this style is tt(_complete), i.e. normally only -completion will be done. +The default value for this style is tt(_complete _ignored), +i.e. normally only completion will be done, first using the +tt(ignored-patterns) style and the tt($fignore) array and then without +ignoring matches because of these. ) kindex(completions, completion style) item(tt(completions))( |