17 lines
426 B
Bash
17 lines
426 B
Bash
# If .bash_profile exists, bash doesn't read .profile
|
|
if [[ -f $HOME/.profile ]]; then
|
|
. $HOME/.profile
|
|
fi
|
|
|
|
# If the shell is interactive and .bashrc exists, get the aliases and functions
|
|
if [[ $- == *i* && -f $HOME/.bashrc ]]; then
|
|
. $HOME/.bashrc
|
|
fi
|
|
|
|
# Activate correct crontab file
|
|
crontab -u severin $HOME/.crontab
|
|
|
|
# If we are on tty1 we start the x-server
|
|
if [ "$(tty)" = "/dev/tty1" ]; then
|
|
startx && exit
|
|
fi
|