Create a gist now

Instantly share code, notes, and snippets.

Embed
Modified .bash_profile
# .bash_profile - login shells
# Template from https://gist.github.com/bretonics/5176d35739a0f4e7acfd
#-------------------------------------------------------------------------------
# SOURCE
# Get Aliases and Functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
#-------------------------------------------------------------------------------
# GENERAL
## COLOR OUTPUT
NC="\[\033[0m\]" #Reset
BLACK="\[\033[0;30m\]" #Black
RED="\[\033[0;31m\]" #Red
GREEN="\[\033[0;32m\]" #Green
YELLOW="\[\033[0;33m\]" #Yellow
BLUE="\[\033[0;34m\]" #Blue
PURPLE="\[\033[0;35m\]" #Purple
CYAN="\[\033[0;36m\]" #Cyan
WHITE="\[\033[0;37m\]" #White
# Bold
BBLACK="\[\033[1;30m\]" #Black
BRED="\[\033[1;31m\]" #Red
BGREEN="\[\033[1;32m\]" #Green
BYELLOW="\[\033[1;33m\]" #Yellow
BBLUE="\[\033[1;34m\]" #Blue
BPURPLE="\[\033[1;35m\]" #Purple
BCYAN="\[\033[1;36m\]" #Cyan
BWHITE="\[\033[1;37m\]" #White
## PROMPT
#PS1="\u [\W] \$" #Default
PS1="$BLUE\u$NC$RED [$NC\W$RED]$NC $ " # Mac
PS1="$BLUE\u$NC@$GREEN\h$NC$RED [$NC\W$RED]$NC $ " # Server
## EXPORTS
export LS_COLORS="" # Linux
export LSCOLORS="cxgxcxdxbxegedabagacab" # Mac
export PROMPT_COMMAND='history -a' # add commands to history immediately (terminal resolution)
export PERL5LIB=/usr/local/Library/Perl/5.18/:~/Dropbox/Development/Modules
export HOMEBREW_NO_ANALYTICS=1 # Mac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment