summaryrefslogtreecommitdiff
path: root/zsh/.zlogin
blob: a6fa9720165f04aa82b657ce1b92ece3f8c72039 (plain)
1
2
3
4
5
if [[ -z $DISPLAY ]] && (( $EUID != 0 )) {
  [[ ${TTY/tty} != $TTY ]] && (( ${TTY:8:1} <= 3 )) &&
    startx 1>/tmp/xsession-errors 2>&1 &
}