Fix eshell-starship prompt

This commit is contained in:
Alexander Rosenberg 2024-04-28 14:13:13 -07:00
parent 5bd69822d3
commit 41f242b48a
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -337,7 +337,7 @@ END-TIME is the time when the command finished executing."
(if (file-remote-p default-directory) (if (file-remote-p default-directory)
(propertize "🌐 " 'face '(:foreground "light blue"))) (propertize "🌐 " 'face '(:foreground "light blue")))
(propertize dir 'face '(:foreground "dark turquoise")) (propertize dir 'face '(:foreground "dark turquoise"))
(unless (file-writable-p dir) (unless (file-writable-p default-directory)
"") "")
(eshell-starship--vc-status) (eshell-starship--vc-status)
(eshell-starship--execute-modules) (eshell-starship--execute-modules)