5

sudo in zsh: vim autocorrecting to .vim

view full story
linux-howto

https://bbs.archlinux.org – Hey guys. Recently, (possibly as of zsh 4.3.15), whenever I'm in ~, zsh has been prompting me to autocorrect sudo vim $filename to sudo .vim $filenameWithout "sudo", zsh makes no attempt to uncorrect "vim", which vaguely reminds me of having a sudo="sudo " alias in bash to get autocompletion working for sudo commands. Alas, that alias doesn't seem to have any effect on this zsh problem.I can avoid the problem by unsetopt-ing correctall, but I'd rather avoid that if possible; setopt correct just doesn't do enough for me.I was wondering if anyone (HowTos)