summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorJaap Broekhuizen <jaapz.b@gmail.com>2014-11-03 12:29:19 +0100
committerJaap Broekhuizen <jaapz.b@gmail.com>2014-11-03 12:29:19 +0100
commiteae70054d15948cc6ddb3d8d4f252ff2c7cf6ad5 (patch)
tree64f6b7b7aec91a0cbe8a8aa32f166567f3f8ce27 /themes
parent7f07facf41e97d0de250f565d5e514f1e6c998a2 (diff)
downloadzsh-eae70054d15948cc6ddb3d8d4f252ff2c7cf6ad5.tar.gz
zsh-eae70054d15948cc6ddb3d8d4f252ff2c7cf6ad5.tar.bz2
zsh-eae70054d15948cc6ddb3d8d4f252ff2c7cf6ad5.zip
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.
Diffstat (limited to 'themes')
-rw-r--r--themes/steeef.zsh-theme2
1 files changed, 2 insertions, 0 deletions
diff --git a/themes/steeef.zsh-theme b/themes/steeef.zsh-theme
index 9d27410b8..e38188d35 100644
--- a/themes/steeef.zsh-theme
+++ b/themes/steeef.zsh-theme
@@ -7,6 +7,8 @@
# git untracked files modification from Brian Carper:
# http://briancarper.net/blog/570/git-info-in-your-zsh-prompt
+export VIRTUAL_ENV_DISABLE_PROMPT=1
+
function virtualenv_info {
[ $VIRTUAL_ENV ] && echo '('$fg[blue]`basename $VIRTUAL_ENV`%{$reset_color%}') '
}