Merge pull request #53 from jonasmalacofilho/fix-48

Fix the 256 palette script failed login issue
This commit is contained in:
Pavel Pertsev
2015-03-10 20:36:03 +03:00

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\\"