aboutsummaryrefslogtreecommitdiff
path: root/bash/.bashrc
blob: eb33c7a77578496cd8835d86fc45c6677a7a9cbd (plain)
1
2
3
4
5
6
7
8
9
10
# If not running interactively, don't do anything
[[ $- != *i* ]] && return

if [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]]; then
	exec startx
fi

if [[ "$TERM" != linux ]]; then
	exec fish
fi