33 lines
921 B
Bash
33 lines
921 B
Bash
###############################################################################
|
|
# File .bash_profile
|
|
# ~/.bash_profile: executed by bash for login shells
|
|
# jul.io
|
|
###############################################################################
|
|
|
|
# set variable identifying the chroot you work in
|
|
if [ -f /etc/debian_chroot ]; then
|
|
debian_chroot=$(cat /etc/debian_chroot)
|
|
fi
|
|
|
|
# include .bashrc if it exists
|
|
if [ -f ~/.bashrc ]; then
|
|
. ~/.bashrc
|
|
fi
|
|
|
|
# Load pyenv automatically by appending
|
|
# the following to
|
|
# ~/.bash_profile if it exists, otherwise ~/.profile (for login shells)
|
|
# and ~/.bashrc (for interactive shells) :
|
|
|
|
export PYENV_ROOT="$HOME/.pyenv"
|
|
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
|
eval "$(pyenv init - bash)"
|
|
|
|
# Restart your shell for the changes to take effect.
|
|
|
|
# Load pyenv-virtualenv automatically by adding
|
|
# the following to ~/.bashrc:
|
|
|
|
eval "$(pyenv virtualenv-init -)"
|
|
|