durr, bash 2.05b cannot match via =~
This commit is contained in:
parent
41375bbf6a
commit
9243b09f0d
1 changed files with 4 additions and 2 deletions
6
shellrc
6
shellrc
|
@ -200,8 +200,10 @@ if is_zsh; then
|
||||||
SAVEHIST=1000
|
SAVEHIST=1000
|
||||||
HISTSIZE=1000
|
HISTSIZE=1000
|
||||||
HISTFILE="${HOME}/.histfile"
|
HISTFILE="${HOME}/.histfile"
|
||||||
if [[ -z ${TMUX} && -z ${SSH_CLIENT} && ${TERM} =~ '^(rxvt-unicode|xterm)' ]]; then
|
if [[ -z ${TMUX} && -z ${SSH_CLIENT} ]]; then
|
||||||
gruvbox-colors
|
if [[ ${TERM} =~ '^(rxvt-unicode|xterm)' ]]; then
|
||||||
|
gruvbox-colors
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
extras=( "${HOME}/.zshrc.extras" )
|
extras=( "${HOME}/.zshrc.extras" )
|
||||||
|
|
Loading…
Reference in a new issue