Created
January 21, 2013 08:33
-
-
Save GeertJohan/4584589 to your computer and use it in GitHub Desktop.
PS1's
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PS1="\u\[$(tput setaf 3)\]@\[$(tput setaf 4)\]\H\[$(tput setaf 3)\]:\[$(tput setaf 6)\]\w\[$(tput setaf 3)\]\\$\[$(tput setaf 7)\]\[$(tput sgr0)\] " | |
#For servers: | |
#PROMPT_HOSTNAME=`hostname --long` | |
#export PS1="\u\[$(tput setaf 3)\]@\[$(tput setaf 1)\]\[$(tput smso)\]${PROMPT_HOSTNAME}\[$(tput rmso)\]\[$(tput setaf 3)\]:\[$(tput setaf 6)\]\w\[$(tput setaf 3)\]\\$\[$(tput setaf 7)\]\[$(tput sgr0)\] " | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment