aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/zsh/30-behavior.zsh4
1 files changed, 4 insertions, 0 deletions
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