default completer style contains _ignored

This commit is contained in:
Sven Wischnowsky 2000-04-03 13:13:02 +00:00
parent bd6aa28b26
commit 8a540b99c5
2 changed files with 5 additions and 3 deletions

View file

@ -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.

View file

@ -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))(