zshuper/functions/correct.zsh

6 lines
255 B
Bash
Raw Normal View History

2016-06-19 04:11:34 +03:00
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'