about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-01-04 08:45:52 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-01-04 08:45:52 +0000
commit3259e583b0d8505c099ab76ca7cec264511c45e8 (patch)
tree9754fc0df2b98731ba0892e0f386c9e308bb9b62
parente0d57c198cd4d4467fc272dc2d2361d765a27db1 (diff)
downloadzsh-3259e583b0d8505c099ab76ca7cec264511c45e8.tar.gz
zsh-3259e583b0d8505c099ab76ca7cec264511c45e8.tar.xz
zsh-3259e583b0d8505c099ab76ca7cec264511c45e8.zip
zsh-workers/9190
-rw-r--r--Completion/Core/compinit14
1 files changed, 7 insertions, 7 deletions
diff --git a/Completion/Core/compinit b/Completion/Core/compinit
index d8a167658..97eca594e 100644
--- a/Completion/Core/compinit
+++ b/Completion/Core/compinit
@@ -472,13 +472,13 @@ compstyle() {
 
 # Default styles. This should be executed conditionally somehow.
 
-zstyle ':completion:*'        verbose       'yes'
-zstyle ':completion:*'        prefix-needed 'yes'
-zstyle ':completion:*'        prefix-hidden 'no'
-zstyle ':completion:correct'  max-errors    '2' numeric
-zstyle ':completion:correct'  prompt        'correct to:'
-zstyle ':completion:*'        completer     '_complete'
-zstyle ':completion*:default' list-colors   "${(s.:.)ZLS_COLORS:-${ZLS_COLOURS:-no=0:fi=0:di=0:ln=0:pi=0:so=0:bd=0:cd=0:ex=0}}"
+zstyle ':completion:*'                      verbose       'yes'
+zstyle ':completion:*'                      prefix-needed 'yes'
+zstyle ':completion:*'                      prefix-hidden 'no'
+zstyle ':completion:(correct|approximate):' max-errors    '2' numeric
+zstyle ':completion:correct:'               prompt        'correct to:'
+zstyle ':completion:*'                      completer     '_complete'
+zstyle ':completion*:default'               list-colors   "${(s.:.)ZLS_COLORS:-${ZLS_COLOURS:-no=0:fi=0:di=0:ln=0:pi=0:so=0:bd=0:cd=0:ex=0}}"
 (( $+SELECTMIN )) && zstyle ':completion*:default' menu "select=$SELECTMIN"
 zstyle ':completion:*' tag-order 'arguments values' options \
                                  globbed-files directories all-files