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)