mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-12 20:21:02 +01:00
forgot to rename one variable
This commit is contained in:
parent
3aee5c1941
commit
86958a32f3
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ _within-bundled-project()
|
|||
local check_dir=$PWD
|
||||
while [ "$(dirname $check_dir)" != "/" ]; do
|
||||
[ -f "$check_dir/Gemfile" ] && return
|
||||
dir="$(dirname $check_dir)"
|
||||
check_dir="$(dirname $check_dir)"
|
||||
done
|
||||
false
|
||||
}
|
||||
|
@ -27,7 +27,7 @@ _run-with-bundler()
|
|||
if _bundler-installed && _within-bundled-project; then
|
||||
bundle exec $command "$@"
|
||||
else
|
||||
$command "$@"
|
||||
$command "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue