Permalink
Browse files

Merge pull request #845 from tjwallace/bundler_plugin_fix

Fix bundler plugin for root level folders
  • Loading branch information...
2 parents 80257bd + 96265d2 commit ac910b85bd782ec7a033b67bab7be63785d063c2 @robbyrussell committed Jan 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/bundler/bundler.plugin.zsh
View
2 plugins/bundler/bundler.plugin.zsh
@@ -16,7 +16,7 @@ _bundler-installed() {
_within-bundled-project() {
local check_dir=$PWD
- while [ "$(dirname $check_dir)" != "/" ]; do
+ while [ $check_dir != "/" ]; do
[ -f "$check_dir/Gemfile" ] && return
check_dir="$(dirname $check_dir)"
done

0 comments on commit ac910b8

Please sign in to comment.