summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Completion/Core/_main_complete2
-rw-r--r--Doc/Zsh/compsys.yo6
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))(