From b180a0833695980c9b19406ca9ae6c165758da84 Mon Sep 17 00:00:00 2001 From: crater2150 Date: Mon, 21 Jun 2021 12:12:53 +0200 Subject: [PATCH] fix pyenv init, remove todo --- plugins/pyenv/pyenv.plugin.zsh | 2 +- zshrc | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/pyenv/pyenv.plugin.zsh b/plugins/pyenv/pyenv.plugin.zsh index b09b2dd..d2482df 100644 --- a/plugins/pyenv/pyenv.plugin.zsh +++ b/plugins/pyenv/pyenv.plugin.zsh @@ -1,6 +1,6 @@ export PYENV_ROOT=${XDG_DATA_HOME:-$HOME/.local/share}/pyenv _init_pyenv() { - unfunction _pyenv + unfunction pyenv export PATH="$PATH:$PYENV_ROOT/bin" eval "$(pyenv init -)" if pyenv commands | grep -q 'virtualenv'; then diff --git a/zshrc b/zshrc index 71bbe7a..096170d 100644 --- a/zshrc +++ b/zshrc @@ -79,5 +79,4 @@ if exists stack; then eval "$(stack --bash-completion-script stack)" fi -exists todo && todo exists thefuck && eval $(thefuck --alias)