From 452694903c9682b597bee5fde728a4a82795a355 Mon Sep 17 00:00:00 2001 From: David Knaack Date: Thu, 7 Jan 2021 18:16:02 +0100 Subject: [PATCH] fix(pwsh): disable builtin venv prompt (#2090) --- src/init/starship.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/init/starship.ps1 b/src/init/starship.ps1 index 6a870746..21571079 100644 --- a/src/init/starship.ps1 +++ b/src/init/starship.ps1 @@ -63,6 +63,9 @@ function global:prompt { } } +# Disable virtualenv prompt, it breaks starship +$ENV:VIRTUAL_ENV_DISABLE_PROMPT=1 + $ENV:STARSHIP_SHELL = "powershell" # Set up the session key that will be used to store logs