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.
6
u/ase1590 Dec 18 '18
How else should it work? People have different projects, and also people have different shells.
running
activateauto chooses the proper config for the following: csh, powershell, fish shell, and bash.