mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Add virtualenvwrapper support to dotfiles.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user