diff options
author | Robby Russell <robby@planetargon.com> | 2013-12-03 00:16:22 -0800 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2013-12-03 00:16:22 -0800 |
commit | 83c18f8553a0914ee48e1029ec7e6a20db3cf355 (patch) | |
tree | 994749824fe11ad1af7f25e67dd560110d1f13bf /plugins | |
parent | aed9cff57a2f7ded9aede874130ac3693ab8aed6 (diff) | |
parent | 7567fd7f27f80bb6f168cd8fcf589157348b069f (diff) | |
download | zsh-83c18f8553a0914ee48e1029ec7e6a20db3cf355.tar.gz zsh-83c18f8553a0914ee48e1029ec7e6a20db3cf355.tar.bz2 zsh-83c18f8553a0914ee48e1029ec7e6a20db3cf355.zip |
Merge pull request #2195 from KevinBongart/command_blacklist_for_bundler_plugin
Add command blacklist support to bundler plugin
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/bundler/bundler.plugin.zsh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/bundler/bundler.plugin.zsh b/plugins/bundler/bundler.plugin.zsh index 4c3580cac..9dfed61a4 100644 --- a/plugins/bundler/bundler.plugin.zsh +++ b/plugins/bundler/bundler.plugin.zsh @@ -8,6 +8,11 @@ alias bu="bundle update" 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) +# Remove $UNBUNDLED_COMMANDS from the bundled_commands list +for cmd in $UNBUNDLED_COMMANDS; do + bundled_commands=(${bundled_commands#$cmd}); +done + ## Functions bi() { |