1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-23 07:38:48 +08:00

Merge pull request #1517 from thisiskun/master

provide the unbundled commands
This commit is contained in:
Robby Russell 2012-12-31 05:26:40 -08:00
commit 07c19b66d3

View File

@ -33,6 +33,7 @@ _run-with-bundler() {
## Main program
for cmd in $bundled_commands; do
eval "function unbundled_$cmd () { $cmd \$@ }"
eval "function bundled_$cmd () { _run-with-bundler $cmd \$@}"
alias $cmd=bundled_$cmd