themes/sexy: Refactor coding styles

Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
This commit is contained in:
walid
2022-11-29 06:28:36 -06:00
committed by Koichi Murase
parent 836c888699
commit 6e7a306d3e

View File

@@ -3,8 +3,10 @@
# Screenshot: http://cloud.gf3.ca/M5rG
# A big thanks to \amethyst on Freenode
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then export TERM=gnome-256color
elif [[ $TERM != dumb ]] && infocmp xterm-256color >/dev/null 2>&1; then export TERM=xterm-256color
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color &>/dev/null; then
export TERM=gnome-256color
elif [[ $TERM != dumb ]] && infocmp xterm-256color &>/dev/null; then
export TERM=xterm-256color
fi
if tput setaf 1 &> /dev/null; then