Add .bashrc

Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
Severin Kaderli 2016-09-11 17:27:17 +02:00
parent 4c19d90627
commit 9547aa3ee3
4 changed files with 140 additions and 22 deletions

View file

@ -1,3 +1,5 @@
if [ -z "$DISPLAY" ] && [ "$(fgconsole)" -eq 1 ]; then
exec startx
if [ "$(tty)" = "/dev/tty1" ]; then
startx && exit
fi
source $HOME/.bashrc