2991f237aeacb0a1918cdd6d4b98fe4b21980038

Author
Marc Cornellà <marc.cornella@live.com>
Committer
GitHub <noreply@github.com>
Date

Message

bundler: allow aliases in `bundle exec`

This means that if you have, for example, `alias rs='rails server'`, you can
run `be rs` and have it expanded to `bundle exec rails server`.

Fixes #5818

Diff

 1diff --git a/plugins/bundler/bundler.plugin.zsh b/plugins/bundler/bundler.plugin.zsh
 2index b0b286af5bf9fb3da76b4baed5586b602f221eb5..589f2cfce81de9efa170da0ed2806f6afe8f3880 100644
 3--- a/plugins/bundler/bundler.plugin.zsh
 4+++ b/plugins/bundler/bundler.plugin.zsh
 5@@ -1,4 +1,4 @@
 6-alias be="bundle exec"
 7+alias be="bundle exec "
 8 alias bl="bundle list"
 9 alias bp="bundle package"
10 alias bo="bundle open"