fix problem with xhost

This commit is contained in:
psox 2021-07-08 16:37:58 +01:00
parent a7b7ef5401
commit 8539579b65

2
zshrc
View file

@ -266,7 +266,7 @@ if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then
fi fi
[[ -d /cygdrive/c/qemu/ ]] && path+=( /cygdrive/c/qemu/ ) [[ -d /cygdrive/c/qemu/ ]] && path+=( /cygdrive/c/qemu/ )
[[ ! -z "$DISPLAY" ]] && xhost +LOCAL: ( which xhost &>/dev/null ) && [[ -n "$DISPLAY" ]] && xhost +LOCAL:
# Set Time Variables # Set Time Variables
precmd() { precmd() {