Skip to content

Commit

Permalink
[master] Fixing shell after deactivating the virtualenv
Browse files Browse the repository at this point in the history
  • Loading branch information
victorfsf committed Nov 14, 2017
1 parent b36511d commit 7c6bab6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions guri.zsh-theme
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 7c6bab6

Please sign in to comment.