Files
dotfiles/dot_bashrc.d/python.bashrc.tmpl
T

20 lines
405 B
Cheetah
Raw Normal View History

2022-11-07 13:31:30 +01:00
# python
2021-12-11 12:32:39 +01:00
2022-01-25 07:16:38 +01:00
# pyenv
if [ -d "$HOME/.pyenv" ]; then
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH" # if `pyenv` is not already on PATH
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
2021-12-11 12:32:39 +01:00
fi
if [ -d "$HOME/.poetry/bin" ]; then
export PATH="$HOME/.poetry/bin:$PATH"
fi
if [ -f "{{ .extra_ca_cert }}" ]; then
export REQUESTS_CA_BUNDLE={{ .extra_ca_cert }}
fi
2021-12-11 12:32:39 +01:00