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
a09cd713
Commit
a09cd713
authored
Dec 24, 2012
by
thisiskun
Browse files
add unbundled command
parent
397c085a
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/bundler/bundler.plugin.zsh
View file @
a09cd713
...
@@ -33,6 +33,7 @@ _run-with-bundler() {
...
@@ -33,6 +33,7 @@ _run-with-bundler() {
## Main program
## Main program
for
cmd
in
$bundled_commands
;
do
for
cmd
in
$bundled_commands
;
do
eval
"function unbundled_
$cmd
() {
$cmd
\$
@ }"
eval
"function bundled_
$cmd
() { _run-with-bundler
$cmd
\$
@}"
eval
"function bundled_
$cmd
() { _run-with-bundler
$cmd
\$
@}"
alias
$cmd
=
bundled_
$cmd
alias
$cmd
=
bundled_
$cmd
...
...
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