Skip to content

Instantly share code, notes, and snippets.

@kubaceg
Last active August 29, 2015 13:55
Show Gist options
  • Save kubaceg/8729817 to your computer and use it in GitHub Desktop.
Save kubaceg/8729817 to your computer and use it in GitHub Desktop.
Colorize bash prompt
export PS1="\[$(tput bold)\]\[$(tput setaf 2)\][\u@\h\[$(tput setaf 1)\] \w\[$(tput setaf 2)\]]\\$ \[$(tput sgr0)\]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment