dotfiles/.bash_profile
Severin Kaderli 035ca90868 Add .gitconfig and install.sh
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
2016-09-12 21:12:10 +02:00

14 lines
359 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
# If we are on tty1 we start the x-server
if [ "$(tty)" = "/dev/tty1" ]; then
startx && exit
fi