Created
August 26, 2011 03:59
-
-
Save datwright/1172659 to your computer and use it in GitHub Desktop.
How I like my terminal prompt
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
function prompt { | |
local GRAY="\[\033[0;37m\]" | |
local WHITE="\[\033[1;37m\]" | |
local GREEN="\[\033[0;32m\]" | |
local CYAN="\[\033[0;36m\]" | |
local MAGENTA="\[\033[0;35m\]" | |
local RED="\[\033[0;31m\]" | |
local BLACK="\[\033[0;30m\]" | |
local YELLOW="\[\033[0;33m\]" | |
local BLUE="\[\033[0;34m\]" | |
export PS1="${MAGENTA}\u${GRAY}@${CYAN}\h${GRAY}:${GREEN}\w ${GRAY}\$ " | |
} | |
prompt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment