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
8a95cedc
Commit
8a95cedc
authored
Oct 15, 2015
by
Arvind Chembarpu
Browse files
Init pyenv virtualenvs too
parent
306e3e7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/pyenv/pyenv.plugin.zsh
View file @
8a95cedc
...
...
@@ -18,6 +18,7 @@ for pyenvdir in "${pyenvdirs[@]}" ; do
export
PYENV_ROOT
=
$pyenvdir
export
PATH
=
${
pyenvdir
}
/bin:
$PATH
eval
"
$(
pyenv init
--no-rehash
- zsh
)
"
eval
"
$(
pyenv virtualenv-init - zsh
)
"
function
pyenv_prompt_info
()
{
echo
"
$(
pyenv version-name
)
"
...
...
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