Created
January 11, 2018 17:25
-
-
Save gilesbowkett/65b6f7c8567098b15657de4fd3af9ce8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 user.name))> \[\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