Skip to content

Instantly share code, notes, and snippets.

@PauloDuarte43
Last active June 22, 2017 13:52
Show Gist options
  • Save PauloDuarte43/55761354db86b6c9beb2dfe02b55a726 to your computer and use it in GitHub Desktop.
Save PauloDuarte43/55761354db86b6c9beb2dfe02b55a726 to your computer and use it in GitHub Desktop.
PS1='\n\[\e[1;37m\]|-- \[\e[1;32m\]\u\[\e[0;39m\]@\[\e[1;36m\]\h\[\e[0;39m\]:\[\e[1;33m\]\w\[\e[0;39m\]\[\e[1;35m\]$(__git_ps1 " (%s)")\[\e[0; 39m\] \[\e[1;37m\]--|\[\e[0;39m\]\n\[\033[0;32m\]└─\[\033[0m\033[0;32m\] \$\[\033[0m\033[0;32m\] ▶\[\033[0m\]'
https://bneijt.nl/blog/post/add-a-timestamp-to-your-bash-prompt/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment