1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-09-29 05:29:11 +00:00

fix: Disable venv custom prompt when starship is in use (#551)

This commit is contained in:
Matias Kotlik 2019-10-25 07:41:01 -05:00 committed by Matan Kushner
parent 42388394ca
commit 221f07548c

View File

@ -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"