Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
6b6f2b6d
Commit
6b6f2b6d
authored
Oct 18, 2019
by
Vsevolod Romashov
Committed by
Marc Cornellà
Oct 18, 2019
Browse files
bundler: support new file naming convention (#6594)
parent
efee47b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/bundler/bundler.plugin.zsh
View file @
6b6f2b6d
...
@@ -82,7 +82,7 @@ _bundler-installed() {
...
@@ -82,7 +82,7 @@ _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"
-o
-f
"
$check_dir
/gems.rb"
]
&&
return
check_dir
=
"
$(
dirname
$check_dir
)
"
check_dir
=
"
$(
dirname
$check_dir
)
"
done
done
false
false
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment