dotfiles/.bash_profile

16 lines
270 B
Bash

#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc
# set PATH so it includes user's private ~/.local/bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
exec startx
fi