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 { "*"