6 lines
255 B
Bash
6 lines
255 B
Bash
setopt correct
|
|
zstyle ':completion:*:correct:*' insert-unambiguous true
|
|
zstyle ':completion:*:corrections' format $'%{\e[0;31m%}%d (errors: %e)%{\e[0m%}'
|
|
zstyle ':completion:*:correct:*' original true
|
|
zstyle ':completion:correct:' prompt 'correct to: %e'
|