Fix shortening paths

This commit is contained in:
Lucien Cartier-Tilet 2021-04-29 22:00:54 +02:00
parent ba99c6cfa7
commit eaddd07e87
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ Return detected partitions as a list of structs."
(when (string-prefix-p "/dev" filesystem t)
(make-eshell-info-banner--mounted-partitions
:path (if (length> mount eshell-info-banner-shorten-path-from)
(eshell-info-banner--abbr-path mount)
(eshell-info-banner--abbr-path mount t)
mount)
:size size
:used used