Watch
1
0
Fork
You've already forked dotfiles
0

Add configuration for python

This commit is contained in:
Alexander Hess 2026-08-03 04:00:21 +02:00
commit 5df789c413
Signed by: alexander
GPG key ID: B46EDB4DFC26805D
7 changed files with 108 additions and 0 deletions

View file

@ -60,6 +60,15 @@ fi
# Put local executables on the `$PATH`
_prepend_to_path "$HOME/.local/bin"
_prepend_to_path "$PYENV_ROOT/bin"
if _command_exists pyenv; then
eval "$(pyenv init -)"
if pyenv commands 2>/dev/null | grep -qx 'virtualenv-init'; then
eval "$(pyenv virtualenv-init -)"
fi
fi
# When everything is loaded, show a little welcome message