diff options
Diffstat (limited to 'zsh/zprofile.base')
-rw-r--r-- | zsh/zprofile.base | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zsh/zprofile.base b/zsh/zprofile.base index 56b7986..5250245 100644 --- a/zsh/zprofile.base +++ b/zsh/zprofile.base @@ -1,4 +1,4 @@ -#!/bin/zsh +#!/usr/bin/env zsh # Path scriptspath="/home/timmy/.local/bin" @@ -36,4 +36,4 @@ export LESSHISTFILE="-" export QT_QPA_PLATFORMTHEME="qt5ct" # Autostart X after login -if [[ -z $DISPLAY ]] && [[ "$USER" != "root" ]] && [[ $(tty) = /dev/tty1 ]]; then startx $XDG_CONFIG_HOME/x11/xinitrc; fi +if [[ -z $DISPLAY ]] && [[ "$USER" != "root" ]] && ( [[ $(tty) = /dev/tty1 ]] || [[ $(tty) = /dev/ttyC0 ]] ); then startx $XDG_CONFIG_HOME/x11/xinitrc; fi |