dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 3a9c94f5d2842e90f1ce42bc6f92a1d6a3e4b429
parent 4ad1d4b9d72d860a0ff41ea3b356832b6406fda6
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Fri, 31 Jan 2020 20:54:51 +0100

zshrc: conditional source virtualenvwrapper

Former-commit-id: cdf82bb191af84491b043edb2aabe36eded5cf31
Diffstat:
Mshell/zshrc | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/shell/zshrc b/shell/zshrc @@ -18,6 +18,14 @@ source ~/.cache/wal/colors-tty.sh . $HOME/.dotfiles/shell/z/z.sh +if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then + export WORKON_HOME=$HOME/.config/virtualenvs + export VIRTUALENVWRAPPER_PYTHON=`which python3` + export VIRTUALENVWRAPPER_SCRIPT=/usr/local/bin/virtualenvwrapper.sh + mkdir -p $WORKON_HOME + source /usr/local/bin/virtualenvwrapper_lazy.sh +fi + plugins=(git gitignore zsh-syntax-highlighting) source $ZSH/oh-my-zsh.sh