fix pyenv init, remove todo

This commit is contained in:
crater2150 2021-06-21 12:12:53 +02:00
parent 219f5a0523
commit b180a08336
2 changed files with 1 additions and 2 deletions

View file

@ -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

1
zshrc
View file

@ -79,5 +79,4 @@ if exists stack; then
eval "$(stack --bash-completion-script stack)" eval "$(stack --bash-completion-script stack)"
fi fi
exists todo && todo
exists thefuck && eval $(thefuck --alias) exists thefuck && eval $(thefuck --alias)