Skip to content

Instantly share code, notes, and snippets.

@supercow
Created October 15, 2014 01:40
Show Gist options
  • Save supercow/32691ac261196e5836a1 to your computer and use it in GitHub Desktop.
Save supercow/32691ac261196e5836a1 to your computer and use it in GitHub Desktop.
__git_ps1_unfucker() {
unalias -a
__git_ps1 "$@"
}
# ... SNIP ...
PS1_git='\[\033[01;37m\]$(__git_ps1_unfucker " (%s)")'
PS1="${PS1_user}${PS1_at}${PS1_host}${PS1_colon}${PS1_pwd}${PS1_git}${PS1_shell}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment