Update wsetup.sh

the DISPLAY should be unset.
This commit is contained in:
Stanislav Zadiraev 2020-02-03 08:12:07 +03:00 committed by GitHub
parent a36f70ecb2
commit 2171faf7c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,7 @@ case $SHELL in
. $HOME/.profile . $HOME/.profile
fi fi
;; ;;
*/zsh) */zsh)
[ -z "$ZSH_NAME" ] && exec $SHELL $0 "$@" [ -z "$ZSH_NAME" ] && exec $SHELL $0 "$@"
[ -d /etc/zsh ] && zdir=/etc/zsh || zdir=/etc [ -d /etc/zsh ] && zdir=/etc/zsh || zdir=/etc
zhome=${ZDOTDIR:-$HOME} zhome=${ZDOTDIR:-$HOME}
@ -51,4 +51,6 @@ case $SHELL in
;; ;;
esac esac
unset DISPLAY
exec $@ exec $@