dotfiles/zsh/.zlogin

8 lines
192 B
Bash
Executable File

# $Header: ~/.zlogin, 2014/11/30 Exp $
# Auto startx depending on the tty
if [[ -z $DISPLAY ]] && (( $EUID != 0 )) {
[[ ${TTY/tty} != $TTY ]] && (( ${TTY:8:1} <= 3 )) &&
startx
}