fix pyenv init, remove todo
This commit is contained in:
parent
219f5a0523
commit
b180a08336
|
@ -1,6 +1,6 @@
|
||||||
export PYENV_ROOT=${XDG_DATA_HOME:-$HOME/.local/share}/pyenv
|
export PYENV_ROOT=${XDG_DATA_HOME:-$HOME/.local/share}/pyenv
|
||||||
_init_pyenv() {
|
_init_pyenv() {
|
||||||
unfunction _pyenv
|
unfunction pyenv
|
||||||
export PATH="$PATH:$PYENV_ROOT/bin"
|
export PATH="$PATH:$PYENV_ROOT/bin"
|
||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
if pyenv commands | grep -q 'virtualenv'; then
|
if pyenv commands | grep -q 'virtualenv'; then
|
||||||
|
|
Loading…
Reference in a new issue