Skip to content

Instantly share code, notes, and snippets.

@blaketmiller
Created May 26, 2016 16:37
Show Gist options
  • Save blaketmiller/b276bf4c2adec7a5b73a42d6512beacb to your computer and use it in GitHub Desktop.
Save blaketmiller/b276bf4c2adec7a5b73a42d6512beacb to your computer and use it in GitHub Desktop.
# custom PS1 prompt
RED='\[\e[0;31m\]'
LIGHTRED='\[\e[1;31m\]'
GREEN='\[\e[0;32m\]'
LIGHTGREEN='\[\e[1;32m\]'
BLUE='\[\e[0;34m\]'
LIGHTBLUE='\[\e[1;34m\]'
YELLOW='\[\e[1;33m\]'
PURPLE='\[\e[0;35m\]'
LIGHTPURPLE='\[\e[1;35m\]'
WHITE='\[\e[1;37m\]'
NORMAL='\[\e[0;37m\]'
CLEAR='\[\e[00m\]'
export PS1=''"${NORMAL}"'['"${RED}"'\t'"${NORMAL}"']['"${GREEN}"'\u'"${NORMAL}"'@'"${YELLOW}"'\h'"${NORMAL}"']['"${BLUE}"'\W'"${NORMAL}"']'"${CLEAR}"' '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment