fix(cli): remove redundant doom-env-file

Causing the envvar file to be generated to wrong place, and thus never
be updated/properly loaded at runtime.

This new setting is for later, where I'll integrate the envvar generate
into the profile generator proper.
This commit is contained in:
Henrik Lissner 2022-09-16 17:06:23 +02:00
parent 732d87ac3e
commit 9121100bb4
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -5,13 +5,16 @@
;; ;;
;;; Variables ;;; Variables
(defvar doom-env-file (doom-path doom-profile-data-dir "env") ;; (defvar doom-env-file
"The location of your envvar file, generated by `doom env`. ;; (doom-path doom-profile-dir
;; doom-profile-init-dir-name
;; "10-init-env.el")
;; "The location of your envvar file, generated by `doom env`.
This file contains environment variables scraped from your shell environment, ;; This file contains environment variables scraped from your shell environment,
which is loaded at startup (if it exists). This is helpful if Emacs can't ;; which is loaded at startup (if it exists). This is helpful if Emacs can't
\(easily) be launched from the correct shell session (particularly for MacOS ;; \(easily) be launched from the correct shell session (particularly for MacOS
users).") ;; users).")
(defvar doom-env-deny (defvar doom-env-deny
'(;; Unix/shell state that shouldn't be persisted '(;; Unix/shell state that shouldn't be persisted