* Really * turn off zsh autocorrect

I have read all the tips for turning off zsh autocorrect to complete the command. However, they don't work completely. I tried DISABLE_CORRECTION = "true", unsetopt correct, unsetopt correct-all, unsetopt correctall, etc. Pp. I do not want

rm .za<TAB>

      

for correction

rm .adobe

      

many thanks: -)

Does anyone know how to disable it permanently?

+3


source to share


1 answer


Most likely the control function is _approximate

set in complementary style to terminate zsh. See if there is a line starting with

zstyle ':completion:*' completer

      

in your zsh config. I can look something like this:



zstyle ':completion:*' completer _expand _complete _approximate

      

Just delete _approximate

and zsh

stop guessing you.

+4


source







All Articles