diff options
author | Robby Russell <robby@planetargon.com> | 2012-01-22 13:11:39 -0800 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2012-01-22 13:11:39 -0800 |
commit | ac910b85bd782ec7a033b67bab7be63785d063c2 (patch) | |
tree | 25634624e9ddcbc03b6670384aadf246f2892c68 /plugins | |
parent | 80257bdf214fa49cce5a79062ecb53053cbfabc8 (diff) | |
parent | 96265d26454868b8b654e4a5271939748e1dd148 (diff) | |
download | zsh-ac910b85bd782ec7a033b67bab7be63785d063c2.tar.gz zsh-ac910b85bd782ec7a033b67bab7be63785d063c2.tar.bz2 zsh-ac910b85bd782ec7a033b67bab7be63785d063c2.zip |
Merge pull request #845 from tjwallace/bundler_plugin_fix
Fix bundler plugin for root level folders
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/bundler/bundler.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/bundler/bundler.plugin.zsh b/plugins/bundler/bundler.plugin.zsh index 74a3adaf8..96c649664 100644 --- a/plugins/bundler/bundler.plugin.zsh +++ b/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 |