summaryrefslogtreecommitdiff
path: root/.zsh/zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zsh/zshrc')
-rw-r--r--.zsh/zshrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/.zsh/zshrc b/.zsh/zshrc
index 5a59e27..82460e9 100644
--- a/.zsh/zshrc
+++ b/.zsh/zshrc
@@ -79,6 +79,12 @@ source ~/.zsh/zshfunctions
# }}}
+# Make sure term capabilities are existing
+if whence infocmp tic NOE && ! infocmp NOE; then
+ fix_terminfo
+ TERM=$TERM # this forces a reinit
+fi
+
# Test for an interactive shell {{{
# There is no need to set anything past this point for scp and rcp,
# and it's important to refrain from outputting anything in those cases.