Skip to content

Instantly share code, notes, and snippets.

@krasio
Created May 24, 2010 04:38
Show Gist options
  • Save krasio/411531 to your computer and use it in GitHub Desktop.
Save krasio/411531 to your computer and use it in GitHub Desktop.
if [ "\$(type -t __git_ps1)" ]; then
PS1="\$(__git_ps1 '[%s]')$PS1"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment