about summary refs log tree commit diff
path: root/Completion/Core/compinit
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Core/compinit')
-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