dotfiles/dot_bashrc

19 lines
534 B
Bash

# vim: set ft=bash:
if [ -r ~/.config/bash/completions/git-prompt.sh ]; then
source ~/.config/bash/completions/git-prompt.sh
fi
if [ -z "$MYSTEM" ]; then
export PS1='\[\033]0;$TITLEPREFIX:$PWD\007\]\[\033[32m\]\u@\h \[\033[33m\]\w\[\033[36m\]`__git_ps1`\[\033[0m\] $ '
else
export PS1='\[\033]0;$TITLEPREFIX:$PWD\007\]\[\033[32m\]\u@\h \[\033[35m\]$MSYSTEM \[\033[33m\]\w\[\033[36m\]`__git_ps1`\[\033[0m\] $ '
fi
if [ -r ~/.config/env ]; then
source ~/.config/env
fi
if [ -r ~/.config/alias ]; then
source ~/.config/alias
fi