Complain if envvar file exists, but isn't readable

This commit is contained in:
Henrik Lissner 2019-07-26 13:15:28 +02:00
parent e6201ca952
commit 331a53c0a1
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -553,7 +553,8 @@ to least)."
;; Load shell environment, optionally generated from 'doom env'
(unless noninteractive
(doom-load-envvars-file doom-env-file 'noerror))))
(when (file-exists-p doom-env-file)
(doom-load-envvars-file doom-env-file)))))
;;