1
0
Fork 0

use a fancy unicode symbol for git status

This commit is contained in:
Von Random 2019-01-31 16:22:24 +03:00
parent 49a728356e
commit f5044bdda8

2
zshrc
View file

@ -119,7 +119,7 @@ precmd.git() {
(( unmerged_count )) && git_status+="%F{magenta}*$unmerged_count"
[[ -z $git_status ]] && git_status="%F{green}ok"
printf ' { %s | %s%%f }' $branch_info $git_status
printf ' { %s \ue0a0 %s%%f }' $branch_info $git_status
}
precmd.prompt() {
if (($#)); then