Created
July 5, 2013 09:49
-
-
Save olleolleolle/5933425 to your computer and use it in GitHub Desktop.
zsh: noglob option, in action. Rake tasks can take arguments in hard brackets. These brackets have special meaning in zsh. So, either turn off the special expansion stuff (noglob) or escape the brackets.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zsh: Too helpful. Turn off the extra features, so that you can run commands: | |
$ noglob foreman run -f Procfile.dev rake coupons:seed[1,"One year"] | |
$ rund rake coupons:seed\[1,"One year"\] | |
Oh, 'rund' is an alias: | |
$ alias |grep rund | |
rund='foreman run -f Procfile.dev' | |
runt='rund -e .env_test' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For Heroku this is the way you make it work:
heroku run "rake coupons:seed[500,'Three months']" -a ranktrail