1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-24 17:00:47 +00:00

bundler: support new file naming convention (#6594)

This commit is contained in:
Vsevolod Romashov 2019-10-18 22:55:56 +03:00 committed by Marc Cornellà
parent efee47b5c0
commit 6b6f2b6dfd

View file

@ -82,7 +82,7 @@ _bundler-installed() {
_within-bundled-project() {
local check_dir="$PWD"
while [ "$check_dir" != "/" ]; do
[ -f "$check_dir/Gemfile" ] && return
[ -f "$check_dir/Gemfile" -o -f "$check_dir/gems.rb" ] && return
check_dir="$(dirname $check_dir)"
done
false