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:
parent
a453f6a34d
commit
b54f0cb866
4
gogh.sh
4
gogh.sh
@ -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 () {
|
||||
@ -362,4 +362,4 @@ for OP in "${OPTION[@]#0}"; do
|
||||
echo -e "\\033[0m\033[0;31m ~ INVALID OPTION! ~\\033[0m\033[0m"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user