zshrc: upgrade xterm to xterm-256color

This commit is contained in:
2022-03-28 06:13:14 -04:00
parent 1f7ba16bba
commit 9f3485fee8

View File

@@ -1,6 +1,9 @@
# start the x server if we're on tty0 and nothing is running # start the x server if we're on tty0 and nothing is running
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx [[ -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 # make sure antigen exists
if [[ ! -a ~/.antigen.zsh ]]; then if [[ ! -a ~/.antigen.zsh ]]; then
wget https://git.io/antigen -O ~/.antigen.zsh wget https://git.io/antigen -O ~/.antigen.zsh