From 1a1c6b79d5e564d9a88154be9fa8fb38d9988b26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20N=C3=A4gele?= Date: Wed, 4 Sep 2013 18:01:12 +0200 Subject: [PATCH] virtualenv init in zsh --- zshrc.local | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zshrc.local b/zshrc.local index fbd6bcc..026e2c1 100644 --- a/zshrc.local +++ b/zshrc.local @@ -2,6 +2,11 @@ setopt vi bindkey '\e.' insert-last-word #alt . working in vim mode export TERM="screen-256color" +if [ -e "/usr/local/bin/virtualenvwrapper.sh" ]; then + source /usr/local/bin/virtualenvwrapper.sh +fi +export WORKON_HOME=~/.envs + if which apt-get 2>&1 >/dev/null; then alias ack=ack-grep fi