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
86958a32
Commit
86958a32
authored
Jun 12, 2011
by
Bodo Tasche
Committed by
Hakan Ensari
Jul 13, 2011
Browse files
forgot to rename one variable
parent
3aee5c19
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/bundler-exec/bundler-exec.plugin.zsh
View file @
86958a32
...
@@ -15,7 +15,7 @@ _within-bundled-project()
...
@@ -15,7 +15,7 @@ _within-bundled-project()
local
check_dir
=
$PWD
local
check_dir
=
$PWD
while
[
"
$(
dirname
$check_dir
)
"
!=
"/"
]
;
do
while
[
"
$(
dirname
$check_dir
)
"
!=
"/"
]
;
do
[
-f
"
$check_dir
/Gemfile"
]
&&
return
[
-f
"
$check_dir
/Gemfile"
]
&&
return
dir
=
"
$(
dirname
$check_dir
)
"
check_
dir
=
"
$(
dirname
$check_dir
)
"
done
done
false
false
}
}
...
@@ -27,7 +27,7 @@ _run-with-bundler()
...
@@ -27,7 +27,7 @@ _run-with-bundler()
if
_bundler-installed
&&
_within-bundled-project
;
then
if
_bundler-installed
&&
_within-bundled-project
;
then
bundle
exec
$command
"
$@
"
bundle
exec
$command
"
$@
"
else
else
$command
"
$@
"
$command
"
$@
"
fi
fi
}
}
...
...
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