diff options
| author | Marc Vertes <mvertes@free.fr> | 2020-01-07 15:01:58 +0100 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2020-01-07 15:01:58 +0100 |
| commit | 14a76861b49404181e9f15003f4f59188735a4e7 (patch) | |
| tree | d8283c48d1c94adea14d5a3d92171163bc455c86 /.profile | |
| parent | 45063ef46f0984ad7959fc3d6cb16f57abd2412a (diff) | |
fix profile
Diffstat (limited to '.profile')
| -rw-r--r-- | .profile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |
