var
The var
command is used to add and remove environment variables.
Usage
zulu var <context> [args]
zulu var
List all of the environment variables currently defined in ~/.config/zulu/env
.
zulu var add <variable> <value>
Adds an environment variable to the environment, and registers it to be loaded in the next shell session.
zulu var add ZULU_DIR '~/.zulu'
zulu var rm <variable>
Remove an environment variable.
zulu var rm ZULU_DIR
zulu var load
Loads all environment variables in ~/.config/zulu/env
into the environment.
Options
-p
, --private
Adds a variable, storing it in a separate ‘private’ file, allowing it to be excluded from version control easily.
zulu var add --private MY_SECRET_KEY j48fw984fw93hf938hf938haf938ahf