From 9471accaec131e2bc39666410c828fe08449cf9a Mon Sep 17 00:00:00 2001 From: Howland Owl Date: Fri, 9 Dec 2016 21:30:58 +0200 Subject: [PATCH] bash has -v, zsh just checks the variable. --- zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 4561b25..d53aa02 100644 --- a/zshrc +++ b/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