From 59b5065470238a87b4ea86a620d55d17b604c5e8 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 28 Sep 2016 23:24:03 +0300 Subject: [PATCH] .shellrc: source virtualenvwrapper from the PATH virtualenvwrapper can be anywhere - in /usr/bin, /usr/local/bin, etc. --- .shellrc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.shellrc b/.shellrc index 6e2fa05..fa8fa95 100644 --- a/.shellrc +++ b/.shellrc @@ -348,10 +348,7 @@ fi # eval "`pyenv virtualenv-init -`" #fi -if [ -f /usr/local/bin/virtualenvwrapper_lazy.sh ]; then - source /usr/local/bin/virtualenvwrapper_lazy.sh -fi - +source virtualenvwrapper_lazy.sh 2>/dev/null if [ "$SHLVL" -eq 1 ] && which startx >/dev/null 2>&1; then X() { startx >> .Xserver.log 2>&1; cyr; } -- 2.39.2