diff options
author | Robby Russell <robby@planetargon.com> | 2012-12-31 05:26:40 -0800 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2012-12-31 05:26:40 -0800 |
commit | 07c19b66d37735ec10b2915abdd85f203ea85295 (patch) | |
tree | 87f505692fd52f44dd6727d0fa4bceb550d89592 /plugins | |
parent | c5ecb4e13691404a4555dbf6fa72fe411d463ad9 (diff) | |
parent | a09cd713b4297b6720dc7c444cdcdbd8d3b9fb1a (diff) | |
download | zsh-07c19b66d37735ec10b2915abdd85f203ea85295.tar.gz zsh-07c19b66d37735ec10b2915abdd85f203ea85295.tar.bz2 zsh-07c19b66d37735ec10b2915abdd85f203ea85295.zip |
Merge pull request #1517 from thisiskun/master
provide the unbundled commands
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/bundler/bundler.plugin.zsh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/bundler/bundler.plugin.zsh b/plugins/bundler/bundler.plugin.zsh index f9843696b..10c221acd 100644 --- a/plugins/bundler/bundler.plugin.zsh +++ b/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 |