mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-26 21:51:05 +01:00
Support bundler
This commit is contained in:
parent
f558a460c2
commit
06659f7fc1
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,8 @@ function _rails_command () {
|
||||||
function _rake_command () {
|
function _rake_command () {
|
||||||
if [ -e "bin/rake" ]; then
|
if [ -e "bin/rake" ]; then
|
||||||
bin/rake $@
|
bin/rake $@
|
||||||
|
elif type bundle &> /dev/null && [ -e "Gemfile" ]; then
|
||||||
|
bundle exec rake $@
|
||||||
else
|
else
|
||||||
command rake $@
|
command rake $@
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue