How to get zsh to stop correcting what it shouldn't
~$ sudo vim somefile
zsh: correct 'vim' to '.vim' [nyae]?
it seems correctall is supposed to correct commands and arguments, while correct corrects only commands, therefore eliminating this annoying behaviour.
This is what I have in my config files
unsetopt correct_all
setopt correct
Written by Paulo Luis Franchini Casaretto
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Zsh
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#