Xshe – Cross-Shell Environment Vars
Xshe allows for setting Shell Environment Variables across multiple shells with a single TOML configuration file.
Instead of writing multiple similar files for each shell you use,
you can instead create one file and use it for every shell with
All you have to do is add a single line to all of your shells' startup scripts, and xshe will set your environment variable across all of them.
To use xshe, you write lines in a
xshe.toml file like this (in TOML format):
Create a file like this once and use it everywhere, for every shell!
xshe can convert this into the format for every supported shell.
Usage and Documentation
View Xshe's documentation online at xshe.superatomic.dev
or read the offline documentation in the
- With Cargo →
- With Homebrew →
- With Eget →
- As a File Download →
- Build from Source →
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.