no need optional pyenv init
This commit is contained in:
parent
192ece1f62
commit
143b1b5362
1 changed files with 22 additions and 24 deletions
|
@ -7,7 +7,6 @@
|
||||||
# Patrick Bos <egpbos@gmail.com>
|
# Patrick Bos <egpbos@gmail.com>
|
||||||
#
|
#
|
||||||
|
|
||||||
if zstyle -t ':prezto:module:python:pyenv' auto-init 'yes'; then
|
|
||||||
# Load manually installed pyenv into the shell session.
|
# Load manually installed pyenv into the shell session.
|
||||||
if [[ -s "$HOME/.pyenv/bin/pyenv" ]] && (( ! $+commands[pyenv] )); then
|
if [[ -s "$HOME/.pyenv/bin/pyenv" ]] && (( ! $+commands[pyenv] )); then
|
||||||
path=("$HOME/.pyenv/bin" $path)
|
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)
|
path=($HOME/.local/bin $path)
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
function _python-workon-cwd {
|
function _python-workon-cwd {
|
||||||
# Check if this is a Git repo
|
# Check if this is a Git repo
|
||||||
|
|
Loading…
Add table
Reference in a new issue