From 0ddc7b2a6c52e4c64957da4b229275afd61ae7e8 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Tue, 7 Nov 2023 18:32:03 +0100 Subject: [PATCH] Fix git star --- nushell/env.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nushell/env.nu b/nushell/env.nu index ea1d530..52246d1 100644 --- a/nushell/env.nu +++ b/nushell/env.nu @@ -49,7 +49,7 @@ def create_left_prompt [] { let git_status = do { git status -s } | complete | get stdout | str trim -c "\n" - let git_changed = if git_status == "" { + let git_changed = if $git_status == "" { "" } else { "*"