mirror of
https://github.com/starship/starship.git
synced 2024-11-24 17:23:49 +01:00
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:
parent
52a38c48ae
commit
153aec38db
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user