summaryrefslogtreecommitdiff
path: root/zsh/.zlogin
blob: 74561c3b5fea28e97fe847afe2f1c2eba4c9df96 (plain)
1
2
3
4
5
6
7
if [[ $(uname) == "Linux" ]]; then
  if [[ -z $DISPLAY ]] && (( $EUID != 0 )) {
    [[ ${TTY/tty} != $TTY ]] && (( ${TTY:8:1} <= 3 )) &&
      startx 1>/tmp/xsession-errors 2>&1 &
  }
fi