1
0
mirror of https://github.com/Mayccoll/Gogh.git synced 2023-08-10 21:12:46 +03:00

Update gogh.sh

This commit is contained in:
Kristoffer Minya 2018-11-06 23:39:32 +01:00 committed by GitHub
parent a453f6a34d
commit b54f0cb866
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -317,7 +317,7 @@ fi
# |
# | If terminal supports truecolor then we can show theme colors without applying the theme
# | ===========================================
if [[ "$COLORTERM" == "truecolor" ]] || [[ "$COLORTERM" == "24bit" ]]; then
if [[ "${COLORTERM:-}" == "truecolor" ]] || [[ "${COLORTERM:-}" == "24bit" ]]; then
# This function gets called in apply-colors.sh instead of gogh_colors
# Calls to gogh_colors has also been move to apply-colors.sh to avoid printing twice
function gogh_truecolor () {