fix problem with xhost

This commit is contained in:
psox 2021-07-08 16:37:58 +01:00
parent a7b7ef5401
commit 8539579b65
1 changed files with 1 additions and 1 deletions

2
zshrc
View File

@ -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() {