Switch GIT_DIRTY_CHAR to unicode Increment character

This commit is contained in:
Adam Goldsmith 2019-06-30 23:17:49 -04:00
parent 0df8692fa8
commit d708f22109

View File

@ -5,12 +5,12 @@ setopt PROMPT_SUBST #allows prompt substitutions
if [[ $(locale charmap) != UTF-8 || "$TERM" == linux ]] if [[ $(locale charmap) != UTF-8 || "$TERM" == linux ]]
then then
ERROR_CHAR='' ERROR_CHAR=''
GIT_DIRTY_CHAR='+-' GIT_DIRTY_CHAR="*"
PREFIX='$' PREFIX='$'
LCOLOR="" LCOLOR=""
else else
ERROR_CHAR='⏎' ERROR_CHAR='⏎'
GIT_DIRTY_CHAR="±" GIT_DIRTY_CHAR="∆" # U+2206
PREFIX="❱" # U+2771 PREFIX="❱" # U+2771
LCOLOR="$fg_bold[black]" LCOLOR="$fg_bold[black]"
fi fi