feat(lib): add active profile to doom-info

This commit is contained in:
Henrik Lissner 2022-09-15 02:22:40 +02:00
parent 4a253757cb
commit b183a0835d
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -261,6 +261,11 @@ ready to be pasted in a bug report on github."
(substring emacs-repository-version 0 9)) (substring emacs-repository-version 0 9))
(symlink-path doom-emacs-dir)))) (symlink-path doom-emacs-dir))))
(doom . ,(list doom-version (doom . ,(list doom-version
(if doom-profile
(format "PROFILE=%s@%s"
(car doom-profile)
(cdr doom-profile))
"PROFILE=_@0")
(sh "git" "log" "-1" "--format=%D %h %ci") (sh "git" "log" "-1" "--format=%D %h %ci")
(symlink-path doom-user-dir))) (symlink-path doom-user-dir)))
(shell . ,(abbrev-path shell-file-name)) (shell . ,(abbrev-path shell-file-name))