bash has -v, zsh just checks the variable.

This commit is contained in:
Howland Owl 2016-12-09 21:30:58 +02:00
parent 373f32d1cb
commit 9471accaec

2
zshrc
View file

@ -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