From 41f242b48a99c7a5a4e641066c8602ac44460f1b Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Sun, 28 Apr 2024 14:13:13 -0700 Subject: [PATCH] Fix eshell-starship prompt --- elisp/eshell-starship.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elisp/eshell-starship.el b/elisp/eshell-starship.el index 66b6ca7..203a29a 100644 --- a/elisp/eshell-starship.el +++ b/elisp/eshell-starship.el @@ -337,7 +337,7 @@ END-TIME is the time when the command finished executing." (if (file-remote-p default-directory) (propertize "🌐 " 'face '(:foreground "light blue"))) (propertize dir 'face '(:foreground "dark turquoise")) - (unless (file-writable-p dir) + (unless (file-writable-p default-directory) " ") (eshell-starship--vc-status) (eshell-starship--execute-modules)