Skip to content

Commit

Permalink
Merge pull request ohmyzsh#845 from tjwallace/bundler_plugin_fix
Browse files Browse the repository at this point in the history
Fix bundler plugin for root level folders
  • Loading branch information
robbyrussell committed Jan 22, 2012
2 parents 80257bd + 96265d2 commit ac910b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/bundler/bundler.plugin.zsh
Expand Up @@ -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
Expand Down

0 comments on commit ac910b8

Please sign in to comment.