Zsh — more intelligent autocorrection

view full story

http://unix.stackexchange.com – Is it possible to make Zsh stop trying to correct arguments that are not meant to be files with files from the current directory without turning off correction completely or limiting it to setopt CORRECT (only correct the command)? For example, when CORRECT_ALL is set with setopt, this happens: gris@arefiev: ~% cd srcc change srcc to src-nyae? n So far, good (argument to cd should be a file). However, gris@arefiev: ~% man zile change zile to .zile-nyae? What? I would expect it to correct zile to .zile when man is called with -C option. It also tries to correct host parameters of (HowTos)