Fix typo: use colour code instead of variable

This commit is contained in:
xylous 2022-02-20 08:35:32 +02:00
parent 21001cab5f
commit ff79586ace
No known key found for this signature in database
GPG Key ID: A9E6DA43F5E78D24

View File

@ -44,7 +44,7 @@ function gitstatus()
(( untracked > 0 )) \
&& untracked="?${untracked} "
local output="$color"
local output="${color}"
output+="${branch} "
output+="${commit_diffs}"
output+="${modified}"
@ -166,10 +166,10 @@ function git_determine_color()
{
for i in "$@"; do
if (( $i > 0 )); then
typeset -g REPLY=$'${yellow}'
typeset -g REPLY=$'%F{yellow}'
return 0
fi
done
typeset -g REPLY=$'${green}'
typeset -g REPLY=$'%F{green}'
return 0
}