practicalli / spacemacs

Content for the book - Clojure Development with Spacemacs
https://practical.li/spacemacs
Creative Commons Attribution Share Alike 4.0 International
109 stars 33 forks source link

Managing Environment variables in Spacemacs #269

Open practicalli-johnny opened 3 years ago

practicalli-johnny commented 3 years ago

Operating system environment variables are automatically added to spacemacs.env when Emacs starts and available immediately.

To add environment variables while Emacs is running (TODO: check this is so, and see if the REPL needs to restart to pick them up)

SPC f e e to edit spacemacs.env directory make changes SPC f e E to load the changes into Emacs and start using them straight away.

https://develop.spacemacs.org/doc/DOCUMENTATION.html#environment-variables-and-path