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
Oh My Zsh
Commits
340da08b
Commit
340da08b
authored
Apr 16, 2014
by
Marc Cornellà
Committed by
ncanceill
Jun 28, 2014
Browse files
Add missing quotes to within-bundler-project function
parent
82d557a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/bundler/bundler.plugin.zsh
View file @
340da08b
...
...
@@ -40,8 +40,8 @@ _bundler-installed() {
}
_within-bundled-project
()
{
local
check_dir
=
$PWD
while
[
$check_dir
!=
"/"
]
;
do
local
check_dir
=
"
$PWD
"
while
[
"
$check_dir
"
!=
"/"
]
;
do
[
-f
"
$check_dir
/Gemfile"
]
&&
return
check_dir
=
"
$(
dirname
$check_dir
)
"
done
...
...
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