fish prints python evnironment name prior to my fish prompt

Viewed 205

When I'm activating python virtual environment, fish always prints venv name in brackets before my fish promt.

antonio:~/W/s/src > 
antonio:~/W/s/src > source ../env/bin/activate.fish
(env) antonio:~/W/s/src > 

I want to avoid this (env) thing and handle virtual envs by my custom fish_prompt function.

it's doesn't matter, what code I have in ~/.config/fish/functions/fish_prompt.fish - fish always prints (env) and only after that executes my fish_prompt.fish function

1 Answers
Related