mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-17 02:25:17 +00:00
fix: Disable venv custom prompt when starship is in use (#551)
This commit is contained in:
parent
42388394ca
commit
221f07548c
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user