summaryrefslogtreecommitdiff
path: root/bash/.bash_profile
blob: c4f34577bcba4944b68440392fe087ca3da5523a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Load in the git branch prompt script.
source ~/.git-prompt.sh
#PS1="\[$GREEN\]\t\[$RED\]-\[$BLUE\]\u\[$YELLOW\]\[$YELLOW\]\w\[\033[m\]\[$MAGENTA\]\$(__git_ps1)\[$WHITE\]\$ "
PS1="\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$(__git_ps1)\[$WHITE\]\$ "

if [ -f ~/.bash_aliases ] ; then
	. ~/.bash_aliases
fi

# Extra configuration for work or home, just separate it in different file to keep dotfiles clean
if [ -f ~/.bash_extra ] ; then
	. ~/.bash_extra
fi

export TERM=xterm-256color

# NeoVim configuration
################################################################
# Create .config if it doesn't exist and set XDG vars
mkdir -p $HOME/.config
XDG_CONFIG_HOME=${XDG_CONFIG_HOME:=$HOME/.config}
XDG_DATA_HOME=${XDG_DATA_HOME:=$HOME/.config}