You're gaining: agnosticism to shell syntax, no need to deactivate, non-messing with your PS1 prompt (which is intended to be set in an .rc file), and most importantly, no janky "remember how the environment was and reset it to that when you're done" model, which is fragile and susceptible to breakage. Ever activated a virtualenv and then activated a conda environment on top of it by accident? Shit's weird.
You assume that I need to run 117 different shells. I don't. I use bash, and are happy with that. Also, I like to have my shell history intact when entering an environment. The cognitive load of deactivate is in practice less than the cognitive load of remembering how many layers of shells are behind the present one. And for those two times a year where it should matter, a discardable shell is but a C-a c away.
Edit: No, I've never used conda. I consider it a Windows tool that mimics a Linux distro manager, and as such have no use for it.
2
u/SirBastian Dec 18 '18
Read:
https://gist.github.com/datagrok/2199506