mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-08 19:31:14 -03:00
disable virtualenv prompt update in nim prompt
As this information is already wrapped into a _nim_prompt_wrapper
This commit is contained in:
committed by
Fabian Homborg
parent
4bfc7318e9
commit
9910ee26cd
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user