Only replace usernames in file paths in doom/info
This commit is contained in:
parent
f587630e17
commit
fc184852d0
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue