eae70054d15948cc6ddb3d8d4f252ff2c7cf6ad5

Author
Jaap Broekhuizen <jaapz.b@gmail.com>
Committer
Jaap Broekhuizen <jaapz.b@gmail.com>
Date

Message

Added VIRTUAL_ENV_DISABLE_PROMPT to steeef.zsh-theme

This stops the virtual env name from being printed before it is actually being
used in the zsh prompt.

Diff

 1diff --git a/themes/steeef.zsh-theme b/themes/steeef.zsh-theme
 2index 9d27410b861694e5c414ececefa3094aaa1bf467..e38188d353daafe1d7673719b9a99c9fe78aa87c 100644
 3--- a/themes/steeef.zsh-theme
 4+++ b/themes/steeef.zsh-theme
 5@@ -7,6 +7,8 @@
 6 # git untracked files modification from Brian Carper:
 7 # http://briancarper.net/blog/570/git-info-in-your-zsh-prompt
 8 
 9+export VIRTUAL_ENV_DISABLE_PROMPT=1
10+
11 function virtualenv_info {
12     [ $VIRTUAL_ENV ] && echo '('$fg[blue]`basename $VIRTUAL_ENV`%{$reset_color%}') '
13 }