Fix the 256 palette script failed login issue

Fixes #48
This commit is contained in:
Jonas Malaco Filho
2015-03-10 13:42:37 -03:00
parent ffe202e4e2
commit 9bdd5254bc

View File

@@ -76,10 +76,8 @@ if [ "${TERM%%-*}" = "screen" ]; then
printf "\033P\033]4;66;rgb:42/7b/58\007\033\\"
printf "\033P\033]4;130;rgb:af/3a/03\007\033\\"
fi
else
if [ "$TERM" = "linux" ] || [ "$TERM" = "vt100" ] || [ "$TERM" = "vt220" ]; then
exit 1
fi
elif [ "$TERM" != "linux" ] && [ "$TERM" != "vt100" ] && [ "$TERM" != "vt220" ]; then
printf "\033]4;236;rgb:32/30/2f\033\\"
printf "\033]4;234;rgb:1d/20/21\033\\"