Skip to content

Globally sets environment variables (and not just for the current process).

License

Notifications You must be signed in to change notification settings

nicolasbauw/globalenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

globalenv

Current Crates.io Version Downloads badge

Globally set or unset environment variables (and not just for the current process). Support for Windows, zsh and bash (MacOS and most Linux distros). Example:

use globalenv::{set_var, unset_var};
set_var("ENVTEST", "TESTVALUE").unwrap();
unset_var("ENVTEST").unwrap();

License: MIT

About

Globally sets environment variables (and not just for the current process).

Topics

Resources

License

Stars

Watchers

Forks

Languages