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
4
shellrc
4
shellrc
|
@ -200,9 +200,11 @@ 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
|
||||||
|
if [[ ${TERM} =~ '^(rxvt-unicode|xterm)' ]]; then
|
||||||
gruvbox-colors
|
gruvbox-colors
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
extras=( "${HOME}/.zshrc.extras" )
|
extras=( "${HOME}/.zshrc.extras" )
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue