1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-28 16:50:07 +00:00

Merge pull request #845 from tjwallace/bundler_plugin_fix

Fix bundler plugin for root level folders
This commit is contained in:
Robby Russell 2012-01-22 13:11:39 -08:00
commit ac910b85bd

View file

@ -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