Skip to content

Instantly share code, notes, and snippets.

@anlexN
Last active March 1, 2020 05:17
Show Gist options
  • Save anlexN/14f26ebb0ba57ad4b950c5c02194823e to your computer and use it in GitHub Desktop.
Save anlexN/14f26ebb0ba57ad4b950c5c02194823e to your computer and use it in GitHub Desktop.
PS1='\n\[\e[32m\u\]\n\[\e[33m\H\]\n\[\e[34m\t\]\n\[\e[31m\w\]\n\e[95mBranch: $(git branch 2>/dev/null | sed -n "s/* \(.*\)/\1 /p")\]\n$ \[\e[0m\]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment