Set WORKON_HOME is bash_profile not bashrc

This commit is contained in:
Jeremy Dormitzer 2019-08-30 11:46:36 -04:00
parent 817fa68ed8
commit e21370628b
2 changed files with 1 additions and 6 deletions

View File

@ -9,3 +9,4 @@
[[ -f "$HOME/.profile" ]] && source "$HOME/.profile" [[ -f "$HOME/.profile" ]] && source "$HOME/.profile"
export PATH="$HOME/.cargo/bin:$PATH" export PATH="$HOME/.cargo/bin:$PATH"
export WORKON_HOME="$HOME/.local/share/virtualenvs"

View File

@ -16,12 +16,6 @@ fi
GPG_TTY=$(tty) GPG_TTY=$(tty)
export GPG_TTY export GPG_TTY
if [ -f /usr/local/bin/virtualenvwrapper.sh ];
then
export WORKON_HOME=$HOME/.virtualenvs
source /usr/local/bin/virtualenvwrapper.sh
fi
if [ -x "$(command -v direnv)" ]; if [ -x "$(command -v direnv)" ];
then then
eval "$(direnv hook bash)" eval "$(direnv hook bash)"