summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2014-11-27 20:01:28 -0800
committerRobby Russell <robby@planetargon.com>2014-11-27 20:01:28 -0800
commit60a41a866af065bfa8c5e156c0c8150ba320aaa0 (patch)
tree42c0920a57df745ef6cc2f2c2d034dc490694bdd
parent9f4dfc0a231d0ddf76e6b3d998193acda916791e (diff)
parenteae70054d15948cc6ddb3d8d4f252ff2c7cf6ad5 (diff)
downloadzsh-60a41a866af065bfa8c5e156c0c8150ba320aaa0.tar.gz
zsh-60a41a866af065bfa8c5e156c0c8150ba320aaa0.tar.bz2
zsh-60a41a866af065bfa8c5e156c0c8150ba320aaa0.zip
Merge pull request #3283 from jaapz/master
Added VIRTUAL_ENV_DISABLE_PROMPT to steeef.zsh-theme
-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%}') '
}