diff --git a/.zshrc b/.zshrc index d1653b9..0d5bfec 100644 --- a/.zshrc +++ b/.zshrc @@ -100,5 +100,6 @@ source $ZSH/oh-my-zsh.sh # alias zshconfig="mate ~/.zshrc" # alias ohmyzsh="mate ~/.oh-my-zsh" # +if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec startx; fi PATH="$HOME/.dotfiles/scripts:${PATH}"