This commit is contained in:
Daniel Flanagan 2022-10-20 20:51:05 -05:00
parent eb4fc694a1
commit c10d7ea7b4
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4

View file

@ -66,7 +66,7 @@ function _maybe_git_summary
set_color -b normal yellow set_color -b normal yellow
set cur_sha (git rev-parse --short HEAD 2>/dev/null) set cur_sha (git rev-parse --short HEAD 2>/dev/null)
if test $status = 0 if test $status = 0
set num_changes (git status --porcelain | wc -l) set num_changes (git status --porcelain | wc -l | string trim)
if test $num_changes = 0 if test $num_changes = 0
set num_changes "✔" set num_changes "✔"
else else