diff --git a/zshrc b/zshrc index 5f4b0f6..39fd880 100755 --- a/zshrc +++ b/zshrc @@ -266,7 +266,7 @@ if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then fi [[ -d /cygdrive/c/qemu/ ]] && path+=( /cygdrive/c/qemu/ ) -[[ ! -z "$DISPLAY" ]] && xhost +LOCAL: +( which xhost &>/dev/null ) && [[ -n "$DISPLAY" ]] && xhost +LOCAL: # Set Time Variables precmd() {