Skip to content

Commit

Permalink
Merge pull request #2959 from crkochan/fix_rake_command
Browse files Browse the repository at this point in the history
Fix for recusion limit hit for _rake_command alias
  • Loading branch information
robbyrussell committed Nov 6, 2014
2 parents 4eff792 + bf134e9 commit 1b65c55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/rails/rails.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ function _rails_command () {
elif [ -e "script/server" ]; then
ruby script/$@
else
rails $@
command rails $@
fi
}

function _rake_command () {
if [ -e "bin/rake" ]; then
bin/rake $@
else
rake $@
command rake $@
fi
}

Expand Down

0 comments on commit 1b65c55

Please sign in to comment.