bf134e9cb390c7ff464c1278782084bef2fae141
- Author
- Christopher Kochan <ckochan@groupon.com>
- Committer
- Christopher Kochan <ckochan@groupon.com>
- Date
Message
Fix for recusion limit hit for _rake_command alias
Diff
1diff --git a/plugins/rails/rails.plugin.zsh b/plugins/rails/rails.plugin.zsh
2index fb46cdcf0710612900cc298118f96afebddac5da..824658e4458c6e7f6f7aba8f49ed42975c815865 100644
3--- a/plugins/rails/rails.plugin.zsh
4+++ b/plugins/rails/rails.plugin.zsh
5@@ -6,7 +6,7 @@ function _rails_command () {
6 elif [ -e "script/server" ]; then
7 ruby script/$@
8 else
9- rails $@
10+ command rails $@
11 fi
12 }
13
14@@ -14,7 +14,7 @@ function _rake_command () {
15 if [ -e "bin/rake" ]; then
16 bin/rake $@
17 else
18- rake $@
19+ command rake $@
20 fi
21 }
22