bash-it themes must not set the TERM variable. The used terminal emulator is responsible to set this variable correctly.

This commit is contained in:
Maik
2017-11-11 18:02:04 +01:00
parent 80810a08f0
commit 3e2ecba318
3 changed files with 1 additions and 15 deletions

View File

@@ -3,10 +3,6 @@
# Axin Bash Prompt, inspired by theme "Sexy" and "Bobby"
# thanks to them
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
fi
if tput setaf 1 &> /dev/null; then
if [[ $(tput colors) -ge 256 ]] 2>/dev/null; then
MAGENTA=$(tput setaf 9)