git: reset color between commit hash and branch name

This commit is contained in:
nicole committed 2023-08-15 12:05:25 -07:00
1 parent 35f517070b
commit 479805fe2a
1 file changed
+1 -1
+1 -1
View File
@@ -29,7 +29,7 @@ function git_prompt() {
echo "warning: unrecognized branch type ${branchtype}" >&2
fi
print "%{$fg_bold[yellow]%}${branchname} %{$fg[yellow]%}${commithash}"
print "%{$fg_bold[yellow]%}${branchname} %{$reset_color%}%{$fg[yellow]%}${commithash}"
fi
}