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
05883f38
Commit
05883f38
authored
Jun 12, 2011
by
Bodo Tasche
Committed by
Hakan Ensari
Jul 13, 2011
Browse files
use lowercase for variablenames
parent
9e819435
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/bundler-exec/bundler-exec.plugin.zsh
View file @
05883f38
# This plugin is based on https://github.com/gma/bundler-exec
# This plugin is based on https://github.com/gma/bundler-exec
# modify the BUNDLED_COMMANDS if needed
# modify the BUNDLED_COMMANDS if needed
BUNDLED_COMMANDS
=(
cucumber heroku rackup rails rake rspec ruby shotgun spec spork
)
bundled_commands
=(
cucumber heroku rackup rails rake rspec ruby shotgun spec spork
)
## Functions
## Functions
...
@@ -32,6 +32,6 @@ run-with-bundler()
...
@@ -32,6 +32,6 @@ run-with-bundler()
}
}
## Main program
## Main program
for
CMD
in
$
BUNDLED_COMMANDS
;
do
for
cmd
in
$
bundled_commands
;
do
alias
$
CMD
=
"run-with-bundler
$
CMD
"
alias
$
cmd
=
"run-with-bundler
$
cmd
"
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