bash: move python vars to .bash_profile
This commit is contained in:
parent
69effef189
commit
ac8cccb7c6
2 changed files with 3 additions and 4 deletions
|
@ -11,6 +11,9 @@ RIPGREP_CONFIG_PATH=$HOME/.ripgreprc
|
||||||
SYSTEMD_EDITOR=$EDITOR
|
SYSTEMD_EDITOR=$EDITOR
|
||||||
TERM=alacritty
|
TERM=alacritty
|
||||||
|
|
||||||
|
PYTHONDONTWRITEBYTECODE=1
|
||||||
|
PYTHONUSERBASE=$HOME/.env/python
|
||||||
|
|
||||||
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||||||
|
|
||||||
# opam configuration
|
# opam configuration
|
||||||
|
|
|
@ -16,10 +16,6 @@ shopt -s histappend
|
||||||
[[ -f $HOME/.bash_colors ]] && source "$HOME/.bash_colors"
|
[[ -f $HOME/.bash_colors ]] && source "$HOME/.bash_colors"
|
||||||
[[ -f $HOME/.bash_functions ]] && source "$HOME/.bash_functions"
|
[[ -f $HOME/.bash_functions ]] && source "$HOME/.bash_functions"
|
||||||
|
|
||||||
# Set up python env.
|
|
||||||
export PYTHONDONTWRITEBYTECODE=1
|
|
||||||
export PYTHONUSERBASE=$HOME/.env/python
|
|
||||||
|
|
||||||
# Local user bins
|
# Local user bins
|
||||||
appendpath $HOME/.local/bin
|
appendpath $HOME/.local/bin
|
||||||
appendpath $HOME/.cargo/bin
|
appendpath $HOME/.cargo/bin
|
||||||
|
|
Loading…
Reference in a new issue