mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-26 21:51:05 +01:00
Merge pull request #845 from tjwallace/bundler_plugin_fix
Fix bundler plugin for root level folders
This commit is contained in:
commit
ac910b85bd
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ _bundler-installed() {
|
||||||
|
|
||||||
_within-bundled-project() {
|
_within-bundled-project() {
|
||||||
local check_dir=$PWD
|
local check_dir=$PWD
|
||||||
while [ "$(dirname $check_dir)" != "/" ]; do
|
while [ $check_dir != "/" ]; do
|
||||||
[ -f "$check_dir/Gemfile" ] && return
|
[ -f "$check_dir/Gemfile" ] && return
|
||||||
check_dir="$(dirname $check_dir)"
|
check_dir="$(dirname $check_dir)"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue