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
a43cef34
Commit
a43cef34
authored
Mar 29, 2019
by
Oleg Smelov
Committed by
Marc Cornellà
Mar 29, 2019
Browse files
pyenv: detect pyenv from Homebrew faster (#7670)
parent
15f29aac
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/pyenv/pyenv.plugin.zsh
View file @
a43cef34
...
...
@@ -4,7 +4,7 @@
FOUND_PYENV
=
$+
commands[pyenv]
if
[[
$FOUND_PYENV
-ne
1
]]
;
then
pyenvdirs
=(
"
$HOME
/.pyenv"
"/usr/local/pyenv"
"/opt/pyenv"
)
pyenvdirs
=(
"
$HOME
/.pyenv"
"/usr/local/pyenv"
"/opt/pyenv"
"/usr/local/opt/pyenv"
)
for
dir
in
$pyenvdirs
;
do
if
[[
-d
$dir
/bin
]]
;
then
export
PATH
=
"
$PATH
:
$dir
/bin"
...
...
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