summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
Diffstat (limited to '.profile')
-rw-r--r--.profile7
1 files changed, 5 insertions, 2 deletions
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