Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
10f3e0d4
Unverified
Commit
10f3e0d4
authored
Aug 18, 2021
by
Marc Cornellà
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs(pyenv): document necessity to logout after PATH settings
parent
7a4f4ad9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
pyenv.plugin.zsh
plugins/pyenv/pyenv.plugin.zsh
+3
-2
No files found.
plugins/pyenv/pyenv.plugin.zsh
View file @
10f3e0d4
...
@@ -30,7 +30,7 @@ if [[ $FOUND_PYENV -ne 1 ]]; then
...
@@ -30,7 +30,7 @@ if [[ $FOUND_PYENV -ne 1 ]]; then
# If we found pyenv, load it but show a caveat about non-interactive shells
# If we found pyenv, load it but show a caveat about non-interactive shells
if
[[
$FOUND_PYENV
-eq
1
]]
;
then
if
[[
$FOUND_PYENV
-eq
1
]]
;
then
cat
<<
EOF
cat
>
&2
<<
EOF
Found pyenv, but it is badly configured. pyenv might not work for
Found pyenv, but it is badly configured. pyenv might not work for
non-interactive shells (for example, when run from a script).
non-interactive shells (for example, when run from a script).
${
bold_color
}
${
bold_color
}
...
@@ -40,7 +40,8 @@ in your home directory:
...
@@ -40,7 +40,8 @@ in your home directory:
export PYENV_ROOT="
${
dir
/#
$HOME
/\
$HOME
}
"
export PYENV_ROOT="
${
dir
/#
$HOME
/\
$HOME
}
"
export PATH="\
$PYENV_ROOT
/bin:\
$PATH
"
export PATH="\
$PYENV_ROOT
/bin:\
$PATH
"
eval "\
$(
pyenv init
--path
)
"
eval "\
$(
pyenv init
--path
)
"
${
reset_color
}
You'll need to restart your user session for the changes to take effect.
${
reset_color
}
For more info go to https://github.com/pyenv/pyenv/#installation.
For more info go to https://github.com/pyenv/pyenv/#installation.
EOF
EOF
...
...
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