From 8dcb8923435f7dd2ae3cc41ee4c0d9f76e3bbe95 Mon Sep 17 00:00:00 2001 From: Frank Villaro-Dixon Date: Tue, 2 Jul 2013 00:51:58 +0200 Subject: [PATCH] startx by default but not on ssh --- bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashrc b/bashrc index 910aaa8..c5e7386 100644 --- a/bashrc +++ b/bashrc @@ -2,7 +2,7 @@ shopt -s checkwinsize #Launch startx when login -#[[ -z $DISPLAY && $XDG_VTNR -le 4 ]] && exec startx +[[ -z $DISPLAY && $XDG_VTNR -le 4 && -z $SSH_CLIENT ]] && exec startx shopt -s histappend PROMPT_COMMAND='history -a'