Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
03dc3a84
Commit
03dc3a84
authored
Oct 25, 2013
by
Kevin Bongart
Browse files
Add command blacklist support to bundler plugin
parent
c79e5a97
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/bundler/bundler.plugin.zsh
View file @
03dc3a84
...
...
@@ -13,9 +13,13 @@ fi
eval
"alias bi='bundle install --jobs=
$cores_num
'"
# The following is based on https://github.com/gma/bundler-exec
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
_bundler-installed
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment