From fde19540838cc2054003eafa2e5214f2be6dd3a1 Mon Sep 17 00:00:00 2001 From: Stanislav Zadiraev Date: Mon, 3 Feb 2020 15:26:09 +0300 Subject: [PATCH] The DISPLAY should be unset --- res/wsetup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/res/wsetup.sh b/res/wsetup.sh index 42be624..e2f0982 100755 --- a/res/wsetup.sh +++ b/res/wsetup.sh @@ -19,7 +19,7 @@ case $SHELL in . $HOME/.profile fi ;; -*/zsh) + */zsh) [ -z "$ZSH_NAME" ] && exec $SHELL $0 "$@" [ -d /etc/zsh ] && zdir=/etc/zsh || zdir=/etc zhome=${ZDOTDIR:-$HOME} @@ -51,4 +51,6 @@ case $SHELL in ;; esac +unset DISPLAY + exec $@