zsh: disable python virtual env default prompt

This commit is contained in:
Fernando Schauenburg 2021-08-19 18:13:42 +02:00
parent e27b8b0de3
commit 9cba97d32b

View file

@ -186,6 +186,7 @@ prompt_precmd_hook() {
prompt_setup() {
setopt NO_PROMPT_BANG PROMPT_CR PROMPT_PERCENT PROMPT_SP PROMPT_SUBST
export PROMPT_EOL_MARK='' # don't show % when a partial line is preserved
export VIRTUAL_ENV_DISABLE_PROMPT=1 # we're doing it ourselves
zmodload zsh/datetime # so that $EPOCHSECONDS is available