1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-12 00:40:07 +00:00

split bundler-commands into seperate lines

This makes adding, deleting and merging a lot easier.
This commit is contained in:
Thomas Kriechbaumer 2014-07-02 12:22:33 +02:00
parent c925aabea9
commit d29c53cb10

View file

@ -5,9 +5,39 @@ alias bo="bundle open"
alias bu="bundle update"
alias bi="bundle_install"
# The following is based on https://github.com/gma/bundler-exec
bundled_commands=(annotate berks cap capify cucumber foodcritic foreman guard irb jekyll kitchen knife middleman nanoc puma rackup rainbows rake rspec ruby shotgun spec spin spork spring strainer tailor taps thin thor unicorn unicorn_rails)
bundled_commands=(
annotate
berks
cap
capify
cucumber
foodcritic
foreman
guard
irb
jekyll
kitchen
knife
middleman
nanoc
puma
rackup
rainbows
rake
rspec
ruby
shotgun
spec
spin
spork
strainer
tailor
taps
thin
thor
unicorn
unicorn_rails
)
# Remove $UNBUNDLED_COMMANDS from the bundled_commands list
for cmd in $UNBUNDLED_COMMANDS; do
@ -74,4 +104,3 @@ for cmd in $bundled_commands; do
compdef _$cmd bundled_$cmd=$cmd
fi
done