Skip to content

Is there any way to remove (env) text from start of prompt? #9430

Closed Answered by faho
DestroyerAce asked this question in Q&A
Discussion options

You must be logged in to vote

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:

set -g VIRTUAL_ENV_DISABLE_PROMPT 1

And if your theme includes its own venv display it should be setting that variable.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@faho
Comment options

Answer selected by DestroyerAce
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants