From 2d27ea5a44264dd1bb3a4aaf1e402ba1a7fae1bc Mon Sep 17 00:00:00 2001 From: David Runge Date: Thu, 22 Feb 2018 10:16:46 +0100 Subject: .zsh.after/export.zsh: Fixing export of TERM for tmux and screen. .tmux.conf: Switching to tmux-256color for within tmux. --- .zsh.after/export.zsh | 2 ++ 1 file changed, 2 insertions(+) (limited to '.zsh.after') diff --git a/.zsh.after/export.zsh b/.zsh.after/export.zsh index 74f1b41..dcc16b9 100644 --- a/.zsh.after/export.zsh +++ b/.zsh.after/export.zsh @@ -1,5 +1,7 @@ # use xterm-color anywhere. Sane default for color and termite if [[ -n $TMUX ]];then + export TERM="tmux-256color" +elif [[ -n $STY ]];then export TERM="screen-256color" else export TERM="xterm-256color" -- cgit v1.2.3-54-g00ecf