2

I am playing around with Octopress/github pages. When I type rake deploy, the terminal always outputs zsh: correct 'deploy' to '_deploy' [nyae]?. I enter n.

What do I need to do in order not to display 'zsh: correct 'deploy' to '_deploy' [nyae]? ' in my terminal?

Thanks in advance.

rake deploy 
zsh: correct 'deploy' to '_deploy' [nyae]? 
Charles
  • 50,943
  • 13
  • 104
  • 142
shin
  • 31,901
  • 69
  • 184
  • 271

2 Answers2

6

Quick fix: disable autocorrect. In your ~/.zshrc:

unsetopt correct_all

If you want autocorrect but not for rake:

alias rake='nocorrect rake'
simont
  • 68,704
  • 18
  • 117
  • 136
0

I beleive the unsetopt correct_all doesnt work any more with the latest update. A more robust solution would be to add in your ~/.zshrc file

DISABLE_CORRECTION="true"
gprasant
  • 15,589
  • 9
  • 43
  • 57