On Mon, 9 Jan 2012, Volodya Khomchak wrote:
Hi all,Approximately month ego I started to see next annoying zsh completion behavior.# vim /etc/rc.local # zsh: correct 'vim' to '.vim' [nyae]? nIt didn't appear with my .zshrc before and looks like this become a problem in latest zsh version. Currently I use `oh-my-zsh` and this still the issue.
I can't replicate this without oh-my-zsh on the latest git version of Zsh with any of the CORRECT or CORRECT_ALL options. My guess is that oh-my-zsh is the problem.
First step: Disable all your oh-my-zsh plugins and see if the issue goes away.
Second step, if that fails: Disable oh-my-zsh entirely and see if the issue goes away.
If it's not related to oh-my-zsh, it might be something in the Arch startup files. Try running zsh with the '-d' flag (disables GLOBAL_RCS).
In any of these cases, see what the output of `setopt` is before and after.
-- Best, Ben