Set WORKON_HOME is bash_profile not bashrc
This commit is contained in:
parent
817fa68ed8
commit
e21370628b
@ -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"
|
||||||
|
@ -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)"
|
||||||
|
Loading…
Reference in New Issue
Block a user