The DISPLAY should be unset

This commit is contained in:
Stanislav Zadiraev 2020-02-03 15:26:09 +03:00 committed by GitHub
parent 7fd849d81e
commit fde1954083
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 $@