Skip to content

Instantly share code, notes, and snippets.

jbjb21

Block or report user

Report or block jbjb21

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .bash_profile
# Git branch in prompt.
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="\u@\h \W\[\033[32m\]\$(parse_git_branch)\[\033[00m\] $ "
export NVM_DIR="$HOME/.nvm"
. "/usr/local/opt/nvm/nvm.sh"
You can’t perform that action at this time.