Skip to content

Instantly share code, notes, and snippets.

View allofthenorthwood's full-sized avatar

allofthenorthwood allofthenorthwood

  • Mountain View, CA
View GitHub Profile
@allofthenorthwood
allofthenorthwood / bash_profile
Created February 7, 2017 02:45
Fancy prompt for bash
# Crazy prompt things
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="[\D{%D %r} \w]\$(parse_git_branch)"
PS1="\$(lolcat -F 3 -p 25 -f <<< \"$PS1\")"
PS1+="\n\[$(tput setaf 0)\](ノ◕ヮ◕)ノ*:・゚✧ \[$(tput sgr0)\]"