Attempt fix
This commit is contained in:
parent
b21dd18caf
commit
74ea243c1d
|
@ -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 {
|
||||
"*"
|
||||
|
|
Loading…
Reference in New Issue