浏览代码

Revert "dont check colors (?)"

This reverts commit 103fe4e70370e3d78c36e36784471f1f787e44e8.
Kevin Heinicke 8 年之前
父节点
当前提交
0ed030ab30
共有 1 个文件被更改,包括 1 次插入1 次删除
  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.