bash: move python vars to .bash_profile

This commit is contained in:
Vladan Popovic 2024-10-05 23:54:17 +02:00
parent 69effef189
commit ac8cccb7c6
2 changed files with 3 additions and 4 deletions

View file

@ -11,6 +11,9 @@ RIPGREP_CONFIG_PATH=$HOME/.ripgreprc
SYSTEMD_EDITOR=$EDITOR
TERM=alacritty
PYTHONDONTWRITEBYTECODE=1
PYTHONUSERBASE=$HOME/.env/python
[[ -f ~/.bashrc ]] && . ~/.bashrc
# opam configuration

View file

@ -16,10 +16,6 @@ shopt -s histappend
[[ -f $HOME/.bash_colors ]] && source "$HOME/.bash_colors"
[[ -f $HOME/.bash_functions ]] && source "$HOME/.bash_functions"
# Set up python env.
export PYTHONDONTWRITEBYTECODE=1
export PYTHONUSERBASE=$HOME/.env/python
# Local user bins
appendpath $HOME/.local/bin
appendpath $HOME/.cargo/bin