export PS1='\[\e[1;0m\][\[\e[38;5;174m\]\u\[\e[38;5;240m\]@\[\e[01;32m\]\h\[\e[38;5;222m\] \w\[\e[31m\]$(parse_git_branch "(%s)")\[\e[1;0m\]]\[\e[38;5;240m\]\$\[\e[1;0m\]\e[m'
function parse_git_branch {
ref=$(git-symbolic-ref HEAD 2> /dev/null) || return
echo "("${ref#refs/heads/}")"
}
function parse_git_branch {
ref=$(git-symbolic-ref HEAD 2> /dev/null) || return
echo "("${ref#refs/heads/}")"
}