git: reset color between commit hash and branch name
This commit is contained in:
1 parent
35f517070b
commit
479805fe2a
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user