From 7c6bab6b6b21666db4f2500b47cd7f0e221c74f0 Mon Sep 17 00:00:00 2001 From: Victor Ferraz Date: Tue, 14 Nov 2017 11:28:00 -0300 Subject: [PATCH] [master] Fixing shell after deactivating the virtualenv --- guri.zsh-theme | 3 +++ 1 file changed, 3 insertions(+) diff --git a/guri.zsh-theme b/guri.zsh-theme index 0b1226a..973b536 100644 --- a/guri.zsh-theme +++ b/guri.zsh-theme @@ -62,6 +62,9 @@ virtualenv_indicator() { if [[ -n "$VIRTUAL_ENV" ]]; then psvar[1]="${VIRTUAL_ENV##*/} " psvar[2]=" v$(python --version 2>&1 | sed -e "s/Python //")" + else + psvar[1]="" + psvar[2]="" fi }