1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-17 18:20:07 +00:00

Merge remote-tracking branch 'JulienPivard/transparent_back_fix' into prepare_066

This commit is contained in:
Dominik Ritter 2018-08-06 00:38:19 +02:00
commit 8beff9fee6

View file

@ -79,6 +79,10 @@ function getColorCode() {
else
echo -n "$1"
fi
# Check if value is none with any case.
elif [[ "${(L)1}" == "none" ]]
then
echo -n 'none'
else
typeset -A codes
# https://jonasjacek.github.io/colors/