oh-my-fish / theme-agnoster

MIT License
95 stars 64 forks source link

Virtualenv - Documentation or Bug... #10

Closed rubenvarela closed 8 years ago

rubenvarela commented 8 years ago

It took me a bit longer that I'd like to admit to find out how to prevent virtualenv from showing the virtualenv name twice.

So what I did was add to my init.fish

#Disable the prompt added by virtualenv when you have a virtualenv active.
set --export VIRTUAL_ENV_DISABLE_PROMPT 'True'

 

Writing this, I can't help but wonder. Would it be a bad idea to modify the prompt_virtual_env function so that inside the if, it sets the variable?

bpinto commented 8 years ago

ping @bobthecow

bobthecow commented 8 years ago

@bpinto this was resolved by #11, i.e. adding to readme rather than modifying prompt_virtual_env to change system settings :)

rubenvarela commented 8 years ago

I think that's it for this issue. Thank you.

bpinto commented 8 years ago

Sorry about that!

rubenvarela commented 8 years ago

:) Not at all!