mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Bundle exec only if Gemfile is present
This commit is contained in:
parent
649cf79f68
commit
cbbb79b282
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ autoload -U compinit
|
|||
compinit -i
|
||||
|
||||
function _bundle_command {
|
||||
if command -v bundle; then
|
||||
if command -v bundle && [ -e "Gemfile" ]; then
|
||||
bundle exec $@
|
||||
else
|
||||
$@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue