mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
bin/doom: set YES and DEBUG envvars on -y/-d
This commit is contained in:
6
bin/doom
6
bin/doom
@ -47,7 +47,8 @@
|
||||
((or "-h" "--help")
|
||||
(error "Did you mean 'doom help'?"))
|
||||
((or "-d" "--debug")
|
||||
(setq doom-debug-mode t))
|
||||
(setq doom-debug-mode t)
|
||||
(setenv "DEBUG" "1"))
|
||||
((or "-i" "--insecure")
|
||||
(setenv "INSECURE" "1"))
|
||||
((or "-p" "--private")
|
||||
@ -59,7 +60,8 @@
|
||||
(or (file-directory-p emacs-dir)
|
||||
(error "%s does not exist" emacs-dir)))
|
||||
((or "-y" "--yes")
|
||||
(setq doom-auto-accept t))))
|
||||
(setq doom-auto-accept t)
|
||||
(setenv "YES" "1"))))
|
||||
|
||||
;; Bootstrap Doom
|
||||
(load (expand-file-name "init" emacs-dir)
|
||||
|
Reference in New Issue
Block a user