Browse Source

Revert "dont check colors (?)"

This reverts commit 103fe4e70370e3d78c36e36784471f1f787e44e8.
Kevin Heinicke 8 years ago
parent
commit
0ed030ab30
1 changed files with 1 additions and 1 deletions
  1. 1 1
      zshrc

+ 1 - 1
zshrc

@@ -4,7 +4,7 @@ source ~/.zsh_local
 
 # instantaneously start tmux, if available
 if command -v tmux>/dev/null; then
-  [ -z $TMUX ] && exec tmux new-session -A -s main
+  [[ ! $TERM =~ screen ]] && [ -z $TMUX ] && exec tmux new-session -A -s main
 fi
 
 # Source Prezto.