Reformat doctor output & add DOOMDIR check
- Will now warn you if both .doom.d and .config/doom exists. - Include branch and last commit date in doctor/info, next to Doom version. - Issues in Doom core are now indented.
This commit is contained in:
parent
f37b1342a2
commit
20a63a35ab
3 changed files with 13 additions and 6 deletions
|
@ -114,7 +114,7 @@
|
|||
"???")
|
||||
(if (and (executable-find "git")
|
||||
(file-directory-p (expand-file-name ".git" user-emacs-directory)))
|
||||
(substring (sh "git rev-parse HEAD") 0 8)
|
||||
(sh "git log -1 --format=\"%D %h %ci\"")
|
||||
"n/a"))
|
||||
(msg! "shell: %s%s"
|
||||
(getenv "SHELL")
|
||||
|
@ -300,7 +300,8 @@
|
|||
(setq doom-modules nil)))
|
||||
|
||||
(section! "Checking Doom core for irregularities...")
|
||||
(load (expand-file-name "doctor.el" doom-core-dir) nil 'nomessage)
|
||||
(let ((indent 4))
|
||||
(load (expand-file-name "doctor.el" doom-core-dir) nil 'nomessage))
|
||||
|
||||
(when (bound-and-true-p doom-modules)
|
||||
(section! "Checking your enabled modules...")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue