From 5bb0e97d75a5fef7f063b84c812418e5f9e5f0cf Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Santoro?= Date: Thu, 26 Oct 2017 19:55:35 +0000 Subject: [PATCH] zsh: Escalate TERM from screen to screen-256color Force 256 colors mode. --- roles/core/shell/files/dot.zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/core/shell/files/dot.zshrc b/roles/core/shell/files/dot.zshrc index 8b1e78b..310f92e 100644 --- a/roles/core/shell/files/dot.zshrc +++ b/roles/core/shell/files/dot.zshrc @@ -97,6 +97,8 @@ source $HOME/bin/ssh-agent-session bindkey -e +[[ $TERM == screen ]] && TERM=screen-256color + autoload zkbd function zkbd_file() { [[ -f ~/.zkbd/${TERM}-${VENDOR}-${OSTYPE} ]] && printf '%s' ~/".zkbd/${TERM}-${VENDOR}-${OSTYPE}" && return 0 -- 2.11.4.GIT