From ee0d022f828dbc61b2f5a484d0e0ba5e6330488e Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Tue, 6 Dec 2016 21:09:01 +0100 Subject: zsh: start X --- zsh/.zlogin | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 zsh/.zlogin (limited to 'zsh') diff --git a/zsh/.zlogin b/zsh/.zlogin new file mode 100644 index 0000000..a6fa972 --- /dev/null +++ b/zsh/.zlogin @@ -0,0 +1,5 @@ +if [[ -z $DISPLAY ]] && (( $EUID != 0 )) { + [[ ${TTY/tty} != $TTY ]] && (( ${TTY:8:1} <= 3 )) && + startx 1>/tmp/xsession-errors 2>&1 & +} + -- cgit v1.2.3