From 9f3485fee883e2887271df11e98d7278e29e13d6 Mon Sep 17 00:00:00 2001 From: Kitty Cat Date: Mon, 28 Mar 2022 06:13:14 -0400 Subject: [PATCH] zshrc: upgrade xterm to xterm-256color --- zsh/zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zsh/zshrc b/zsh/zshrc index 2060f92..02d4891 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -1,6 +1,9 @@ # start the x server if we're on tty0 and nothing is running [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx +# Bring "xterm" up to "xterm-256color", fairly well expected this should work +[[ "$TERM" == "xterm" ]] && export TERM="xterm-256color" + # make sure antigen exists if [[ ! -a ~/.antigen.zsh ]]; then wget https://git.io/antigen -O ~/.antigen.zsh