mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 20:29:45 +01:00
Merge pull request #2959 from crkochan/fix_rake_command
Fix for recusion limit hit for _rake_command alias
This commit is contained in:
commit
1b65c55fcf
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ function _rails_command () {
|
|||
elif [ -e "script/server" ]; then
|
||||
ruby script/$@
|
||||
else
|
||||
rails $@
|
||||
command rails $@
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@ function _rake_command () {
|
|||
if [ -e "bin/rake" ]; then
|
||||
bin/rake $@
|
||||
else
|
||||
rake $@
|
||||
command rake $@
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue