Add virtualenvwrapper support to dotfiles.

This commit is contained in:
David Tomaschik
2016-03-19 11:01:40 -07:00
parent 5900f47829
commit 80795ffb33
3 changed files with 8 additions and 0 deletions

View File

@@ -21,4 +21,7 @@ if [[ $TERM == "xterm" && $COLORTERM == "gnome-terminal" ]] ; then
export TERM="xterm-256color" export TERM="xterm-256color"
fi fi
# For virtualenvwrapper
export WORKON_HOME=$HOME/.virtualenvs
if [[ -e $HOME/.localenv ]] ; then source $HOME/.localenv ; fi if [[ -e $HOME/.localenv ]] ; then source $HOME/.localenv ; fi

View File

@@ -30,6 +30,7 @@ if [ -d $HOME/.oh-my-zsh ] ; then
ZSH_THEME="matir" ZSH_THEME="matir"
ZSH_CUSTOM="$HOME/.zsh_custom" ZSH_CUSTOM="$HOME/.zsh_custom"
plugins=(git encode64 gpg-agent pep8 pip python tmux urltools extract sudo virsh virtualenv command-not-found) 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 source $ZSH/oh-my-zsh.sh
unset ZSH_THEME unset ZSH_THEME
unset ZSH_CUSTOM unset ZSH_CUSTOM

View File

@@ -33,7 +33,10 @@ python-imaging
python-pip python-pip
python-pypdf python-pypdf
python-scapy python-scapy
python-virtualenv
python-yara python-yara
python3
python3-virtualenv
radare2 radare2
scapy scapy
scdaemon scdaemon
@@ -46,5 +49,6 @@ tshark
ufw ufw
unzip unzip
vim vim
virtualenvwrapper
whois whois
zsh zsh