diff options
author | Bodo Tasche <bodo@wannawork.de> | 2011-06-12 20:28:27 +0200 |
---|---|---|
committer | Hakan Ensari <hakan.ensari@papercavalier.com> | 2011-07-13 22:54:30 +0100 |
commit | 86958a32f3d3e647fc61e92700a9ce393e11a3cb (patch) | |
tree | 60c81cb71df05ceb6ffcd3b5b2a9d12f2c8ad3c3 | |
parent | 3aee5c19412dea541495e10f1c4cc7a6d8e4af50 (diff) | |
download | zsh-86958a32f3d3e647fc61e92700a9ce393e11a3cb.tar.gz zsh-86958a32f3d3e647fc61e92700a9ce393e11a3cb.tar.bz2 zsh-86958a32f3d3e647fc61e92700a9ce393e11a3cb.zip |
forgot to rename one variable
-rw-r--r-- | plugins/bundler-exec/bundler-exec.plugin.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/bundler-exec/bundler-exec.plugin.zsh b/plugins/bundler-exec/bundler-exec.plugin.zsh index 4684dcb8d..bc4d35a84 100644 --- a/plugins/bundler-exec/bundler-exec.plugin.zsh +++ b/plugins/bundler-exec/bundler-exec.plugin.zsh @@ -15,7 +15,7 @@ _within-bundled-project() local check_dir=$PWD while [ "$(dirname $check_dir)" != "/" ]; do [ -f "$check_dir/Gemfile" ] && return - dir="$(dirname $check_dir)" + check_dir="$(dirname $check_dir)" done false } @@ -27,7 +27,7 @@ _run-with-bundler() if _bundler-installed && _within-bundled-project; then bundle exec $command "$@" else - $command "$@" + $command "$@" fi } |