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
d29c53cb
Commit
d29c53cb
authored
Jul 02, 2014
by
Thomas Kriechbaumer
Browse files
split bundler-commands into seperate lines
This makes adding, deleting and merging a lot easier.
parent
c925aabe
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/bundler/bundler.plugin.zsh
View file @
d29c53cb
...
@@ -5,9 +5,39 @@ alias bo="bundle open"
...
@@ -5,9 +5,39 @@ alias bo="bundle open"
alias
bu
=
"bundle update"
alias
bu
=
"bundle update"
alias
bi
=
"bundle_install"
alias
bi
=
"bundle_install"
# The following is based on https://github.com/gma/bundler-exec
bundled_commands
=(
annotate
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
)
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
# Remove $UNBUNDLED_COMMANDS from the bundled_commands list
for
cmd
in
$UNBUNDLED_COMMANDS
;
do
for
cmd
in
$UNBUNDLED_COMMANDS
;
do
...
@@ -74,4 +104,3 @@ for cmd in $bundled_commands; do
...
@@ -74,4 +104,3 @@ for cmd in $bundled_commands; do
compdef _
$cmd
bundled_
$cmd
=
$cmd
compdef _
$cmd
bundled_
$cmd
=
$cmd
fi
fi
done
done
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