Add configuration for python
This commit is contained in:
parent
19f2786398
commit
5df789c413
7 changed files with 108 additions and 0 deletions
9
.profile
9
.profile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue