I use oh-my-zsh for all of my console goodness. Depending on what I'm working on, there are certain environment variables that I'm often overwriting either manually or through scripts to make my work easier for the next hour. For example: setting default ssh identify files, changing the
AWS_PROFILE env variable, clearing or resetting other custom environment variables.
I'd like to be able to switch to a different "environment" within a shell session based on some context, similar to how tools like
PyEnv work. Is there an easier way to do this in ZSH, either through a plugin or feature?