Skip to content

Instantly share code, notes, and snippets.

@k88hudson
Created March 7, 2014 17:52
Show Gist options
  • Save k88hudson/9416352 to your computer and use it in GitHub Desktop.
Save k88hudson/9416352 to your computer and use it in GitHub Desktop.
### prompt with git branch, colours, and status
export GITAWAREPROMPT=~/.bash/git-aware-prompt
source $GITAWAREPROMPT/main.sh
export PS1="$txtcyn\]\w \[$txtylw\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment