83c18f8553a0914ee48e1029ec7e6a20db3cf355

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #2195 from KevinBongart/command_blacklist_for_bundler_plugin

Add command blacklist support to bundler plugin

Diff

 1diff --git a/plugins/bundler/bundler.plugin.zsh b/plugins/bundler/bundler.plugin.zsh
 2index 4c3580caca9accf93d6359afb706a681c99968f5..9dfed61a46b0f0bf93f84ae172b6e0704d75fdd8 100644
 3--- a/plugins/bundler/bundler.plugin.zsh
 4+++ b/plugins/bundler/bundler.plugin.zsh
 5@@ -8,6 +8,11 @@ alias bu="bundle update"
 6 
 7 bundled_commands=(annotate berks cap capify cucumber foodcritic foreman guard jekyll kitchen knife middleman nanoc rackup rainbows rake rspec ruby shotgun spec spin spork strainer tailor taps thin thor unicorn unicorn_rails puma)
 8 
 9+# Remove $UNBUNDLED_COMMANDS from the bundled_commands list
10+for cmd in $UNBUNDLED_COMMANDS; do
11+  bundled_commands=(${bundled_commands#$cmd});
12+done
13+
14 ## Functions
15 
16 bi() {