Skip to content

Instantly share code, notes, and snippets.

@raelgc
Last active December 15, 2015 01:09
Show Gist options
  • Save raelgc/5178484 to your computer and use it in GitHub Desktop.
Save raelgc/5178484 to your computer and use it in GitHub Desktop.
Simple and util .bashrc colors to use with git projects.
# Friendly Color Names
Black="\[\033[0;30m\]"
Dark_Gray="\[\033[1;30m\]"
Blue="\[\033[0;34m\]"
Light_Blue="\[\033[1;34m\]"
Green="\[\033[0;32m\]"
Light_Green="\[\033[1;32m\]"
Cyan="\[\033[0;36m\]"
Light_Cyan="\[\033[1;36m\]"
Red="\[\033[0;31m\]"
Light_Red="\[\033[1;31m\]"
Purple="\[\033[0;35m\]"
Light_Purple="\[\033[1;35m\]"
Brown="\[\033[0;33m\]"
Yellow="\[\033[1;33m\]"
Light_Gray="\[\033[0;37m\]"
White="\[\033[1;37m\]"
# Time (just Hour and Minutes), Folder and current Git Branch
PS1="$Green\$(date +%H:%M) $Light_Gray\w$Yellow\$(__git_ps1)$Light_Gray\$ "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment