From b62c065ebc73177d881f7f48d821b84c8a634862 Mon Sep 17 00:00:00 2001 From: Zack Hsi Date: Tue, 8 Sep 2015 10:40:42 -0700 Subject: [PATCH] Set proper TERM for tmux fzf issue: https://github.com/junegunn/fzf/issues/18 relevant article: http://www.economyofeffort.com/2014/07/04/zsh/ --- zsh_exports | 1 + 1 file changed, 1 insertion(+) diff --git a/zsh_exports b/zsh_exports index c577411..c32a1fb 100644 --- a/zsh_exports +++ b/zsh_exports @@ -3,3 +3,4 @@ export EDITOR='vim' export ACK_OPTIONS='--ignore-dir=venv --ignore-file=is:tags' export GREP_OPTIONS='--exclude-dir=venv --exclude=tags --color=auto' export TERM=xterm-256color +[ -n "$TMUX" ] && export TERM=screen-256color