From 9243b09f0dee0902edde17621093c87d24448555 Mon Sep 17 00:00:00 2001 From: Von Random Date: Thu, 3 Sep 2015 18:33:15 +0300 Subject: [PATCH] durr, bash 2.05b cannot match via =~ --- shellrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/shellrc b/shellrc index 66e0fa4..9b4728a 100644 --- a/shellrc +++ b/shellrc @@ -200,8 +200,10 @@ if is_zsh; then SAVEHIST=1000 HISTSIZE=1000 HISTFILE="${HOME}/.histfile" - if [[ -z ${TMUX} && -z ${SSH_CLIENT} && ${TERM} =~ '^(rxvt-unicode|xterm)' ]]; then - gruvbox-colors + if [[ -z ${TMUX} && -z ${SSH_CLIENT} ]]; then + if [[ ${TERM} =~ '^(rxvt-unicode|xterm)' ]]; then + gruvbox-colors + fi fi extras=( "${HOME}/.zshrc.extras" )