diff --git a/zshrc.d/bootstrap.zsh b/zshrc.d/bootstrap.zsh index df9578f..a8c7058 100644 --- a/zshrc.d/bootstrap.zsh +++ b/zshrc.d/bootstrap.zsh @@ -9,3 +9,7 @@ source ${ZSH_DIR}/.env.zsh # Load in oh-my-zsh source ${ZSH}/oh-my-zsh.sh + +# Load virtualenvwrapper if it is exists +# DEV: Load the lazy script for faster load times +test -x /usr/local/bin/virtualenvwrapper_lazy.sh && source /usr/local/bin/virtualenvwrapper_lazy.sh diff --git a/zshrc.d/lib/functions.zsh b/zshrc.d/lib/functions.zsh index a9c8c78..c09bbdd 100644 --- a/zshrc.d/lib/functions.zsh +++ b/zshrc.d/lib/functions.zsh @@ -1,20 +1,3 @@ -# Setup Python/Virtualenv -load_virtualenv () { - source /usr/local/bin/virtualenvwrapper.sh -} -workon () { - load_virtualenv - workon "$@" -} -mkvirtualenv () { - load_virtualenv - mkvirtualenv "$@" -} -rmvirtualenv () { - load_virtualenv - rmvirtualenv "$@" -} - # Setup RVM rvm () { source ${HOME}/.rvm/scripts/rvm