2020-06-25 05:48:14 +08:00
|
|
|
#
|
|
|
|
# ~/.bash_profile
|
|
|
|
#
|
|
|
|
|
|
|
|
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
|
|
|
|
2021-03-06 22:04:06 +08:00
|
|
|
# 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
|
|
|
|
|
2020-06-25 05:48:14 +08:00
|
|
|
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
|
|
|
|
exec startx
|
|
|
|
fi
|
2021-03-06 22:04:06 +08:00
|
|
|
|