From e21370628b5cb50953d908392b0f019e4c02c765 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Fri, 30 Aug 2019 11:46:36 -0400 Subject: [PATCH] Set WORKON_HOME is bash_profile not bashrc --- bash/.bash_profile | 1 + bash/.bashrc | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/bash/.bash_profile b/bash/.bash_profile index 10bda84..50f25f4 100644 --- a/bash/.bash_profile +++ b/bash/.bash_profile @@ -9,3 +9,4 @@ [[ -f "$HOME/.profile" ]] && source "$HOME/.profile" export PATH="$HOME/.cargo/bin:$PATH" +export WORKON_HOME="$HOME/.local/share/virtualenvs" diff --git a/bash/.bashrc b/bash/.bashrc index eda66ed..c7d7be1 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -16,12 +16,6 @@ fi GPG_TTY=$(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)" ]; then eval "$(direnv hook bash)"