Attempt fix

This commit is contained in:
Thomas Forgione 2023-11-07 18:30:41 +01:00
parent b21dd18caf
commit 74ea243c1d
1 changed files with 2 additions and 2 deletions

View File

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