bin/doom: set YES and DEBUG envvars on -y/-d
This commit is contained in:
parent
eea729fdf3
commit
2c0e93773b
1 changed files with 4 additions and 2 deletions
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue