Fix void-variable error: partitions

This commit is contained in:
Juergen Hoetzel 2021-05-20 19:52:33 +02:00 committed by Lucien Cartier-Tilet
parent e9136b77cd
commit 285fd95b8b
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 1 additions and 0 deletions

View File

@ -512,6 +512,7 @@ If RELEASE-FILE is nil, use '/etc/os-release'."
(kernel (concat (s-trim (shell-command-to-string "uname -s"))
" "
(s-trim (shell-command-to-string "uname -r"))))
(partitions (eshell-info-banner--get-mounted-partitions))
(left-padding (eshell-info-banner--get-longest-path partitions))
(left-text (max (length os)
(length hostname)))