blob: 96e00e073e358176c96ad5054a9c055692cce2fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# 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
export XDG_CONFIG_HOME=${XDG_CONFIG_HOME:=$HOME/.config}
export XDG_DATA_HOME=${XDG_DATA_HOME:=$HOME/.config}
export PATH="$HOME/.cargo/bin:$PATH"
# Pandoc bash completion
eval "$(pandoc --bash-completion)"
|