oh-my-zsh/plugins/envy
2017-02-18 18:30:06 +07:00
..
envy.plugin.zsh Envy - add command for editing profile 2017-02-18 18:30:06 +07:00
README.md Add envy plugin for easy profile switching 2017-02-18 14:25:48 +07:00

envy - oh-my-zsh plugin

Easily switch between shell profiles using one command.

Profiles are simple files just like .bashrc or .zshrc, located in separate directory. You can load them on demand, any time you want.

asciicast

Usage

Create first profile by executing envy create work. This will put empty file under $HOME/.envy/work. You can put there aliases, environment variables, functions or any shell logic.

To load profile -- envy work.

By default, when loading zsh envy loads default profile if it finds it.

Options

You can customize envy by putting these env vars in .zshrc (or .bashrc):

  • ENVY_CONFIG_DIR - directory which contains profile files (default: $HOME/.envy)
  • ENVY_DEFAULT_ENV - profile to be loaded when zsh starts (default: default)