artathack.com

about web and mobile development

Issues With ZSH and Octopress

Since I moved from bash to zsh I figured out some commands for Octopress stopped working.

E.g. when I run rake deploy I get this:

1
2
$ bundle exec rake deploy
zsh: correct 'deploy' to '_deploy' [nyae]?

To get rid of the annoying message I now use some commands with quotation marks like this:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
# deploying
$ bundle exec rake deploy
->
$ bundle exec "rake deploy"

# installing new themes
$ bundle exec rake install[slash]
->
$ bundle exec rake "install[slash]"

# generating a blog post
$ rake new_post[Issues with zsh and Octopress]
->
$ rake "new_post[Issues with zsh and Octopress]"

Comments