Skip to content

Instantly share code, notes, and snippets.

@KaduNovoK
Created October 15, 2014 13:46
Show Gist options
  • Save KaduNovoK/253f0ad88b1ad03a51df to your computer and use it in GitHub Desktop.
Save KaduNovoK/253f0ad88b1ad03a51df to your computer and use it in GitHub Desktop.
ps1 - ubuntu terminal
PS1='\[\033[0;37m\][\t]\[\033[0;32m\][\u]\[\033[31m\][\h]`git branch 2>/dev/null | grep \* | head -1 | sed "s/\* //g" | awk "{ print \"[ \"\\\$1 \" ]\" }"` \[\033[1;33m\]\w\a\[\033[0m\]\n\$ '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment