mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-22 18:52:45 +01:00
{bash,zsh}rc: add pyenv shims to $PATH
This commit is contained in:
parent
d630796e6d
commit
ee8720a71b
@ -311,7 +311,7 @@ fi
|
||||
|
||||
# https://github.com/pyenv/pyenv
|
||||
if [ -d ~/.pyenv/bin ]; then
|
||||
PATH="$HOME/.pyenv/bin:$PATH"
|
||||
PATH="$HOME/.pyenv/bin:$HOME/.pyenv/shims:$PATH"
|
||||
pyenv init > /dev/null 2>&1
|
||||
# Worth considering (and verifying before running)
|
||||
# git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv
|
||||
|
2
rc/zshrc
2
rc/zshrc
@ -276,7 +276,7 @@ fi
|
||||
|
||||
# https://github.com/pyenv/pyenv
|
||||
if [ -d ~/.pyenv/bin ]; then
|
||||
PATH="$HOME/.pyenv/bin:$PATH"
|
||||
PATH="$HOME/.pyenv/bin:$HOME/.pyenv/shims:$PATH"
|
||||
pyenv init > /dev/null 2>&1
|
||||
# Worth considering (and verifying before running)
|
||||
# git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv
|
||||
|
Loading…
Reference in New Issue
Block a user