dotfiles/.bash_profile
Severin Kaderli de9781c13f Fix some bugs
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
2017-01-17 20:13:43 +01:00

12 lines
275 B
Bash

# We just source .bashrc so we don't need to manage two files.
if [[ -f $HOME/.bashrc ]]; then
. $HOME/.bashrc
fi
# Activate correct crontab file
crontab $HOME/.crontab
# If we are on tty1 we start the x-server
if [ "$(tty)" = "/dev/tty1" ]; then
startx && exit
fi