From 14a76861b49404181e9f15003f4f59188735a4e7 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Tue, 7 Jan 2020 15:01:58 +0100 Subject: fix profile --- .profile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.profile') diff --git a/.profile b/.profile index 8263305..7ed9008 100644 --- a/.profile +++ b/.profile @@ -1,7 +1,10 @@ # ~/.profile -[ -f ~/.profile-$HOSTNAME ] && . ~/.profile-$HOSTNAME - export PATH=~/bin:$PATH:~/go/bin [ "${SHELL##*/}" = bash ] && [ -f ~/.bashrc ] && . ~/.bashrc + +# Last action: auto start X11 when logged on first terminal +case $HOSTNAME in +(swift) [ "$(tty)" != /dev/tty1 ] || exec startx ;; +esac -- cgit v1.2.3