disable virtualenv prompt update in nim prompt

As this information is already wrapped into a _nim_prompt_wrapper
This commit is contained in:
Guilhem Saurel
2020-01-06 12:39:09 +01:00
committed by Fabian Homborg
parent 4bfc7318e9
commit 9910ee26cd

View File

@@ -76,6 +76,8 @@ function fish_prompt
_nim_prompt_wrapper $retc '' (date +%X)
# Virtual Environment
set -q VIRTUAL_ENV_DISABLE_PROMPT
or set -g VIRTUAL_ENV_DISABLE_PROMPT true
set -q VIRTUAL_ENV
and _nim_prompt_wrapper $retc V (basename "$VIRTUAL_ENV")