blob: 50d8206a8d05caf50ee9a42696e91be5b7b544f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
host=`hostname`
if [ $host = "automatix" ] || [ $host = "asterix" ]; then
if [ -z "$STY" ]; then
exec screen -R
fi
fi
if [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]]; then
exec startx
fi
if [[ "$TERM" != linux ]]; then
exec fish
fi
|