mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
Fix for recusion limit hit for _rake_command alias
This commit is contained in:
parent
c925aabea9
commit
bf134e9cb3
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ function _rails_command () {
|
||||||
elif [ -e "script/server" ]; then
|
elif [ -e "script/server" ]; then
|
||||||
ruby script/$@
|
ruby script/$@
|
||||||
else
|
else
|
||||||
rails $@
|
command rails $@
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ function _rake_command () {
|
||||||
if [ -e "bin/rake" ]; then
|
if [ -e "bin/rake" ]; then
|
||||||
bin/rake $@
|
bin/rake $@
|
||||||
else
|
else
|
||||||
rake $@
|
command rake $@
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue