tweak(lib): print!: join (path ...) segments

This commit is contained in:
Henrik Lissner 2024-03-24 18:08:47 -04:00
parent 2df24d29f3
commit 8d50cd8bfb
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -84,7 +84,8 @@ and `format!' into colored output, where COLOR is any car of this list (or
(doom-print--indent
(if args (apply #'format str args) str)
"> ")))
(path . abbreviate-file-name)
(path . (lambda (&rest segments)
(abbreviate-file-name (apply #'doom-path segments))))
(symbol . symbol-name)
(relpath . (lambda (str &optional dir)
(if (or (not str)