Fix shortening paths
This commit is contained in:
parent
ba99c6cfa7
commit
eaddd07e87
@ -152,7 +152,7 @@ Return detected partitions as a list of structs."
|
|||||||
(when (string-prefix-p "/dev" filesystem t)
|
(when (string-prefix-p "/dev" filesystem t)
|
||||||
(make-eshell-info-banner--mounted-partitions
|
(make-eshell-info-banner--mounted-partitions
|
||||||
:path (if (length> mount eshell-info-banner-shorten-path-from)
|
:path (if (length> mount eshell-info-banner-shorten-path-from)
|
||||||
(eshell-info-banner--abbr-path mount)
|
(eshell-info-banner--abbr-path mount t)
|
||||||
mount)
|
mount)
|
||||||
:size size
|
:size size
|
||||||
:used used
|
:used used
|
||||||
|
Loading…
Reference in New Issue
Block a user