From 80795ffb33ade423d019e93a7e778fe08a84e181 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Sat, 19 Mar 2016 11:01:40 -0700 Subject: [PATCH] Add virtualenvwrapper support to dotfiles. --- dotfiles/env | 3 +++ dotfiles/zshrc | 1 + packages | 4 ++++ 3 files changed, 8 insertions(+) diff --git a/dotfiles/env b/dotfiles/env index 9f6fe6c..efba975 100644 --- a/dotfiles/env +++ b/dotfiles/env @@ -21,4 +21,7 @@ if [[ $TERM == "xterm" && $COLORTERM == "gnome-terminal" ]] ; then export TERM="xterm-256color" fi +# For virtualenvwrapper +export WORKON_HOME=$HOME/.virtualenvs + if [[ -e $HOME/.localenv ]] ; then source $HOME/.localenv ; fi diff --git a/dotfiles/zshrc b/dotfiles/zshrc index 3bd3ad5..e22e323 100644 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -30,6 +30,7 @@ if [ -d $HOME/.oh-my-zsh ] ; then ZSH_THEME="matir" ZSH_CUSTOM="$HOME/.zsh_custom" plugins=(git encode64 gpg-agent pep8 pip python tmux urltools extract sudo virsh virtualenv command-not-found) + test -f /usr/share/virtualenvwrapper/virtualenvwrapper.sh && plugins+=(virtualenvwrapper) source $ZSH/oh-my-zsh.sh unset ZSH_THEME unset ZSH_CUSTOM diff --git a/packages b/packages index c0f6913..d622fb2 100644 --- a/packages +++ b/packages @@ -33,7 +33,10 @@ python-imaging python-pip python-pypdf python-scapy +python-virtualenv python-yara +python3 +python3-virtualenv radare2 scapy scdaemon @@ -46,5 +49,6 @@ tshark ufw unzip vim +virtualenvwrapper whois zsh