mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-10 02:29:22 +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
|
# https://github.com/pyenv/pyenv
|
||||||
if [ -d ~/.pyenv/bin ]; then
|
if [ -d ~/.pyenv/bin ]; then
|
||||||
PATH="$HOME/.pyenv/bin:$PATH"
|
PATH="$HOME/.pyenv/bin:$HOME/.pyenv/shims:$PATH"
|
||||||
pyenv init > /dev/null 2>&1
|
pyenv init > /dev/null 2>&1
|
||||||
# Worth considering (and verifying before running)
|
# Worth considering (and verifying before running)
|
||||||
# git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv
|
# 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
|
# https://github.com/pyenv/pyenv
|
||||||
if [ -d ~/.pyenv/bin ]; then
|
if [ -d ~/.pyenv/bin ]; then
|
||||||
PATH="$HOME/.pyenv/bin:$PATH"
|
PATH="$HOME/.pyenv/bin:$HOME/.pyenv/shims:$PATH"
|
||||||
pyenv init > /dev/null 2>&1
|
pyenv init > /dev/null 2>&1
|
||||||
# Worth considering (and verifying before running)
|
# Worth considering (and verifying before running)
|
||||||
# git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv
|
# git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv
|
||||||
|
Loading…
Reference in New Issue
Block a user