forked from extern/ohmyzsh
add unbundled command
This commit is contained in:
parent
397c085a19
commit
a09cd713b4
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user