Created
November 20, 2019 16:51
-
-
Save RockinPaul/10df8ad7c5b40309ccbefc113e8f7cae to your computer and use it in GitHub Desktop.
How to set environment variables permanently in zsh.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo 'export ENV_VAR=12345' >> ~/.zshenv | |
echo $ENV_VAR // perform on relaunch of zsh to check if everything is set properly. | |
12345 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment