xshe
allows for setting Shell Environment Variables across multiple shells with a single TOML
configuration file.
brew install superatomic/xshe/xshe
Or brew tap superatomic/xshe
and then brew install xshe
.
You can also install xshe with Cargo or via a file download. These options are explained in xshe's README.
brew help
, man brew
or check Homebrew's documentation.