Fix for Linux and make consistent

This commit is contained in:
Loic Nageleisen 2021-03-02 12:41:07 +01:00
parent e317caaa8f
commit 9ca56d83c7
42 changed files with 106 additions and 52 deletions

View file

@ -1,4 +1,10 @@
# pyenv
test -d "$HOME/.pyenv/bin" && PATH="$HOME/.pyenv/bin:$PATH"
which pyenv 2>&1 >/dev/null && eval "$(pyenv init -)"
if test -d "$HOME/.pyenv/bin"; then
PATH="$HOME/.pyenv/bin:$PATH"
fi
if command -v pyenv 2>&1 >/dev/null; then
eval "$(pyenv init -)"
fi
export PATH
# vim: ft=bash