bash has -v, zsh just checks the variable.
This commit is contained in:
parent
373f32d1cb
commit
9471accaec
1 changed files with 1 additions and 1 deletions
2
zshrc
2
zshrc
|
|
@ -9,7 +9,7 @@ SAVEHIST=2000
|
|||
setopt appendhistory autocd extendedglob
|
||||
|
||||
if [ -x /usr/bin/xset ]; then
|
||||
if [ -v DISPLAY ]; then
|
||||
if [ ${DISPLAY} ]; then
|
||||
xset -b
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue