tweak(lib): print!: join (path ...) segments
This commit is contained in:
parent
2df24d29f3
commit
8d50cd8bfb
1 changed files with 2 additions and 1 deletions
|
@ -84,7 +84,8 @@ and `format!' into colored output, where COLOR is any car of this list (or
|
||||||
(doom-print--indent
|
(doom-print--indent
|
||||||
(if args (apply #'format str args) str)
|
(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)
|
(symbol . symbol-name)
|
||||||
(relpath . (lambda (str &optional dir)
|
(relpath . (lambda (str &optional dir)
|
||||||
(if (or (not str)
|
(if (or (not str)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue