Export VIRTUAL_ENV_DISABLE_PROMPT on zsh

This is already done on Fish and PowerShell. It suppresses the prefixing
of the Python virtualenv name to the prompt in Visual Studio Code's
terminal.
This commit is contained in:
Victor Westerhuis 2024-10-24 10:47:23 +02:00
parent 52a38c48ae
commit 153aec38db

View File

@ -83,7 +83,7 @@ STARSHIP_SESSION_KEY="$RANDOM$RANDOM$RANDOM$RANDOM$RANDOM"; # Random generates a
STARSHIP_SESSION_KEY="${STARSHIP_SESSION_KEY}0000000000000000" # Pad it to 16+ chars.
export STARSHIP_SESSION_KEY=${STARSHIP_SESSION_KEY:0:16}; # Trim to 16-digits if excess.
VIRTUAL_ENV_DISABLE_PROMPT=1
export VIRTUAL_ENV_DISABLE_PROMPT=1
setopt promptsubst