Menu

#11 Do not correct spelling of second argument of mv

open
nobody
None
5
2013-01-25
2012-08-27
mudd1
No

Renaming a file to something similar in zsh can be a bit annoying with the otherwise very useful spelling correction enabled. Take the following test case:

> touch test1
> mv test1 test2
zsh: correct 'test2' to 'test1' [nyae]?

It is pretty obvious, that I do *not* want to issue the command "mv test1 test1" as zsh suggests. Actually, I could very well live with losing spelling correction for the rare cases were I want to overwrite a file with another and mistyped the second argument. So I would very much have an option to disable the spelling checking of the second argument of mv altogether

Discussion