From fbeeeb5053bcd39d50613daa50be7ae6b3cf672b Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Fri, 16 Jul 2021 14:09:05 -0500 Subject: make sure TERM is installed --- config/zsh/30-behavior.zsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/zsh/30-behavior.zsh b/config/zsh/30-behavior.zsh index e7e6b81..d62834f 100644 --- a/config/zsh/30-behavior.zsh +++ b/config/zsh/30-behavior.zsh @@ -19,6 +19,10 @@ setopt hist_verify # load hist into command buffer rather than exec immediately # # term support +# make sure $TERM is installed +# if not, fall back on xterm-256color +infocmp "$TERM" > /dev/null 2>&1 || export TERM=xterm-256color + # set term title appropriately based on term type # user@host:current_dir (current_command) case "$TERM" in -- cgit v1.2.3