Is there any way to remove (env) text from start of prompt? #9430
-
Hi I use a theme from oh-my-fish and everytime I use virtual environment it makes the theme look weird |
Beta Was this translation helpful? Give feedback.
Answered by
faho
Dec 24, 2022
Replies: 2 comments 1 reply
-
The So: set -g VIRTUAL_ENV_DISABLE_PROMPT 1 And if your theme includes its own venv display it should be setting that variable. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
DestroyerAce
-
Thanks adding that to theme worked |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
env
is your venv's name. Python's activate.fish script displays it by default unless $VIRTUAL_ENV_DISABLE_PROMPT is set to non-empty.So:
And if your theme includes its own venv display it should be setting that variable.