Skip to content

Instantly share code, notes, and snippets.

Created January 11, 2018 17:25
What would you like to do?
function giles_prompt {
tab-title $(this)
# display git user name for pairing via git pair
# "this" function returns git branch name
export PS1="\[\033[0;95m\]<\u (\$(git config> \[\033[0;96m\]\w\[\033[0m\]\[\033[0;32m\] \$(this)\[\033[0m\]\n\[\033[0;34m\] $(unicode_nonsense)\[\033[0m\] "
export PROMPT_COMMAND=giles_prompt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment