mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-13 13:13:35 -05:00
Only replace usernames in file paths in doom/info
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user