Only replace usernames in file paths in doom/info

This commit is contained in:
Henrik Lissner 2021-01-11 02:45:15 -05:00
parent f587630e17
commit fc184852d0
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -113,7 +113,7 @@ ready to be pasted in a bug report on github."
(letf! ((defun sh (&rest args) (cdr (apply #'doom-call-process args))) (letf! ((defun sh (&rest args) (cdr (apply #'doom-call-process args)))
(defun abbrev-path (path) (defun abbrev-path (path)
(replace-regexp-in-string (replace-regexp-in-string
(regexp-quote (user-login-name)) "$USER" (concat "\\<" (regexp-quote (user-login-name)) "\\>") "$USER"
(abbreviate-file-name path)))) (abbreviate-file-name path))))
`((system `((system
(type . ,system-type) (type . ,system-type)