From 0c03ecd1676332f3e81b0715e33c372435876e98 Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Mon, 28 Dec 2020 22:48:00 -0800 Subject: [PATCH] Fix screen color issue for tmux inside zsh --- tmux/.config/zsh/zshrc.d/tmux.zsh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tmux/.config/zsh/zshrc.d/tmux.zsh diff --git a/tmux/.config/zsh/zshrc.d/tmux.zsh b/tmux/.config/zsh/zshrc.d/tmux.zsh new file mode 100644 index 0000000..34966d0 --- /dev/null +++ b/tmux/.config/zsh/zshrc.d/tmux.zsh @@ -0,0 +1,4 @@ +if [ "$TMUX" ]; then + # TERM=tmux-256color does not work as expected on osx + export TERM=screen-256color +fi