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" )