no need optional pyenv init

This commit is contained in:
arshavindn 2018-08-20 14:07:10 +07:00
parent 192ece1f62
commit 143b1b5362

View file

@ -7,7 +7,6 @@
# Patrick Bos <egpbos@gmail.com>
#
if zstyle -t ':prezto:module:python:pyenv' auto-init 'yes'; then
# Load manually installed pyenv into the shell session.
if [[ -s "$HOME/.pyenv/bin/pyenv" ]] && (( ! $+commands[pyenv] )); then
path=("$HOME/.pyenv/bin" $path)
@ -34,7 +33,6 @@ if zstyle -t ':prezto:module:python:pyenv' auto-init 'yes'; then
path=($HOME/.local/bin $path)
fi
fi
fi
function _python-workon-cwd {
# Check if this is a Git repo