From 221f07548cdb11f8b977dff2f0004a1c82f6daef Mon Sep 17 00:00:00 2001 From: Matias Kotlik Date: Fri, 25 Oct 2019 07:41:01 -0500 Subject: [PATCH] fix: Disable venv custom prompt when starship is in use (#551) --- src/init/starship.fish | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/init/starship.fish b/src/init/starship.fish index b2e88e5e..e8347108 100644 --- a/src/init/starship.fish +++ b/src/init/starship.fish @@ -11,5 +11,9 @@ function fish_prompt set -l starship_duration (math --scale=0 "$CMD_DURATION / 1000") ::STARSHIP:: prompt --status=$exit_code --keymap=$keymap --cmd-duration=$starship_duration --jobs=(count (jobs -p)) end + +# disable virtualenv prompt, it breaks starship +set VIRTUAL_ENV_DISABLE_PROMPT 1 + function fish_mode_prompt; end export STARSHIP_SHELL="fish"