Skip to content

Instantly share code, notes, and snippets.

@armiller
Last active September 16, 2015 23:59
Show Gist options
  • Save armiller/da6ec42f11bb89be5602 to your computer and use it in GitHub Desktop.
Save armiller/da6ec42f11bb89be5602 to your computer and use it in GitHub Desktop.
git aware prompt
export GITAWAREPROMPT=/home/armiller/.bash/git-aware-prompt
source "${GITAWAREPROMPT}/main.sh"
export PS1="\${debian_chroot:+(\$debian_chroot)}\[\033[01;32m\]\u@workstation\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\] \[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment