summaryrefslogtreecommitdiff
path: root/plugins/bundler
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2012-12-31 05:26:40 -0800
committerRobby Russell <robby@planetargon.com>2012-12-31 05:26:40 -0800
commit07c19b66d37735ec10b2915abdd85f203ea85295 (patch)
tree87f505692fd52f44dd6727d0fa4bceb550d89592 /plugins/bundler
parentc5ecb4e13691404a4555dbf6fa72fe411d463ad9 (diff)
parenta09cd713b4297b6720dc7c444cdcdbd8d3b9fb1a (diff)
downloadzsh-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/bundler')
-rw-r--r--plugins/bundler/bundler.plugin.zsh1
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