Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am albertpastrana on github.
  • I am albertpastrana (https://keybase.io/albertpastrana) on keybase.
  • I have a public key ASADj7HlAPCuAdhdozTKbrTao2npDk7vN_0DMh6sjVInRwo

To claim this, I am signing this object:

@albertpastrana
albertpastrana / README.md
Created December 10, 2015 15:23 — forked from alechill/README.md
Set up git prompt

Single liner script to fetch and setup the useful git-prompt and git-completion utilities with your bash profile prompt

To use:

  • Copy script, paste on command line, hit enter

Enjoy:

  • Pretty colours man
  • Clear directory path info
  • If in git controlled dir, the current branch name (yay!)
  • Hit tab when typing git commands to complete the commands, remotes, and branch names (soo goddamn yay!)