Last Updated: February 25, 2016
·
739
· ryansobol

Fix zsh auto-correct once and for all

Is auto-correct driving you crazy?

$ bundle install
zsh: correct 'bundle' to '.bundle' [nyae]?

Forget the messy alias commands in your config files. Try this instead:

$ hash -rf

This empties and immediately rebuilds the zsh command hash table used by auto-correct.

$ bundle install
Using rake (10.1.0)
Using bundler (1.3.5)
Your bundle is complete!

Perfect! What's in the command hash table, you say? See for yourself:

$ hash

Happy coding!