Update some python and ruby configs

This commit is contained in:
crater2150 2021-12-03 15:09:12 +01:00
parent 705c726b06
commit 67db15b05b
3 changed files with 8 additions and 2 deletions

View file

@ -1,8 +1,10 @@
export PYENV_ROOT=${XDG_DATA_HOME:-$HOME/.local/share}/pyenv
_init_pyenv() {
unfunction pyenv
export PATH="$PATH:$PYENV_ROOT/bin"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
source $(pyenv root)/completions/pyenv.zsh
if pyenv commands | grep -q 'virtualenv'; then
eval "$(pyenv virtualenv-init -)"
fi