1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-11 00:10:08 +00:00

Add missing quotes to within-bundler-project function

This commit is contained in:
Marc Cornellà 2014-04-16 20:23:01 +02:00 committed by ncanceill
parent 82d557a84e
commit 340da08b9a

View file

@ -40,8 +40,8 @@ _bundler-installed() {
} }
_within-bundled-project() { _within-bundled-project() {
local check_dir=$PWD local check_dir="$PWD"
while [ $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