# source bash prompt
source ~/.bash/prompt

# Source bash aliases
source ~/.bash/aliases

# Source bash functions
source ~/.bash/functions

# Source alacritty completions
if [ -f $HOME/.config/alacritty/alacritty.bash ]; then
    source $HOME/.config/alacritty/alacritty.bash
fi

# Env
export TERM=xterm-256color
export EDITOR=vim
export GREP_COLORS='mt=3;33'

# Don't add duplicate lines or lines beginning with a space to the history
HISTCONTROL=ignoreboth

# Set history format to include timestamps
HISTTIMEFORMAT="%Y-%m-%d %T "

# Correct simple errors while using cd
shopt -s cdspell

# Add /home/$USER/bin to $PATH
case :$PATH: in
	*:/home/$USER/bin:*) ;;
	*) PATH=/home/$USER/bin:$PATH ;;
esac

# Add /home/$USER/.local/bin to $PATH
case :$PATH: in
	*:/home/$USER/.local/bin:*) ;;
	*) PATH=/home/$USER/.local/bin:$PATH ;;
esac

# Add /home/$USER/.tmux/tmuxifier to $PATH
case :$PATH: in
	*:/home/$USER/.tmux/tmuxifier/bin:*) ;;
	*) PATH=/home/$USER/.tmux/tmuxifier/bin:$PATH ;;
esac

# Add /usr/sbin to $PATH
PATH=/usr/sbin:$PATH

