-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the ability to set and unset environment variables #31
Comments
As described in #31. This commit is feature incomplete.
As described in #31. This commit is feature incomplete.
As described in #31. This commit is feature incomplete.
Setting variables with |
Move shell script conversion to a separate file, `convert.rs`. They were previously in `main.rs`. Additionally, implement unsetting environment variables as described in #31. Note: until rust-lang/rust-clippy#8271 is added to Rust in 1.61, `#![allow(clippy::ptr_arg)]` has been added to the top of the file.
Unsetting variables is now finished, and now the code has test cases (one step closer to closing #65). |
Relevant Feature: superatomic/xshe#31
Sometimes, all that matters is that a variable is set, and it doesn't matter what it is set to. In this can, this syntax can be used:
This sets the
HOMEBREW_NO_ANALYTICS
to1
.And to unset variables that are set, a variable can be set to
false
.The text was updated successfully, but these errors were encountered: