-u, --unset
Remove variable NAME from the environment.
An option of envx.
Usage
envx -u NAME [-] [NAME=VALUE]... [COMMAND [ARG]...]
envx --unset=NAME [-] [NAME=VALUE]... [COMMAND [ARG]...]Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-u | --unset | NAME | remove variable NAME from the environment |
Examples
Drop variables for one command (-u may be repeated)
envx -u HOME -u USER gnux shell -c 'echox "[$HOME] [$USER]"'Drop a variable and run in another directory
envx -u DEBUG -C build ./configureHelp in the terminal
gnux help envx --unset