From 629a4b6300dad65c0e7b9a89edbb2a5b2fb87a2e Mon Sep 17 00:00:00 2001 From: Von Random Date: Thu, 3 Sep 2015 19:08:43 +0300 Subject: [PATCH] better yet --- shellrc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/shellrc b/shellrc index 9b4728a..f8f4d72 100644 --- a/shellrc +++ b/shellrc @@ -200,10 +200,8 @@ if is_zsh; then SAVEHIST=1000 HISTSIZE=1000 HISTFILE="${HOME}/.histfile" - if [[ -z ${TMUX} && -z ${SSH_CLIENT} ]]; then - if [[ ${TERM} =~ '^(rxvt-unicode|xterm)' ]]; then - gruvbox-colors - fi + if [[ -z ${TMUX} && -z ${SSH_CLIENT} && ( ${TERM} == rxvt-unicode-* || ${TERM} == xterm-* ) ]]; then + gruvbox-colors fi extras=( "${HOME}/.zshrc.extras" )