From 74ea243c1d5f937deac8dc6250373656b2874018 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Tue, 7 Nov 2023 18:30:41 +0100 Subject: [PATCH] Attempt fix --- nushell/env.nu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nushell/env.nu b/nushell/env.nu index fd7e14a..ea1d530 100644 --- a/nushell/env.nu +++ b/nushell/env.nu @@ -47,9 +47,9 @@ def create_left_prompt [] { | complete | update stdout (echo $in.stdout | str trim -c "\n") - let git_status = do { git status -s } | complete + let git_status = do { git status -s } | complete | get stdout | str trim -c "\n" - let git_changed = if git_status.stdout == "" { + let git_changed = if git_status == "" { "" } else { "*"