Permalink
Browse files

add unbundled command

  • Loading branch information...
thisiskun committed Dec 24, 2012
1 parent 397c085 commit a09cd713b4297b6720dc7c444cdcdbd8d3b9fb1a
Showing with 1 addition and 0 deletions.
  1. +1 −0 plugins/bundler/bundler.plugin.zsh
@@ -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

0 comments on commit a09cd71

Please sign in to comment.