Skip to content

Instantly share code, notes, and snippets.

@creative-sensor
Last active August 17, 2017 15:06
Show Gist options
  • Save creative-sensor/4f12ddd70847735dbe5b060b3165f469 to your computer and use it in GitHub Desktop.
Save creative-sensor/4f12ddd70847735dbe5b060b3165f469 to your computer and use it in GitHub Desktop.
# Green for dark background
COLOR1='\[\033[38;5;34m\]'
# Dark Pink for bright background (ROOT user)
COLOR2='\[\033[38;5;161m\]'
# Blue for bright background
COLOR3='\[\033[38;5;26m\]'
BOLD='\[\033[1m\]' # Work only if "allow bold text" setting is enabled
STOP='\[\033[0m\]'
PS1="[${BOLD}${COLOR1}\u${STOP}@${BOLD}${COLOR2}\h \W${STOP}]\$ "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment