Skip to content

Instantly share code, notes, and snippets.

@Kelley-Stephens
Last active December 12, 2017 14:41
Show Gist options
  • Save Kelley-Stephens/335af3a2c1c7287f31c22242ad2c759d to your computer and use it in GitHub Desktop.
Save Kelley-Stephens/335af3a2c1c7287f31c22242ad2c759d to your computer and use it in GitHub Desktop.
.bash_profile
# Color Variables
txtblk='\[\e[0;30m\]' # Black
txtred='\[\e[0;31m\]' # Red
txtgrn='\[\e[0;32m\]' # Green
txtylw='\[\e[0;33m\]' # Yellow
txtblu='\[\e[0;34m\]' # Blue
txtpur='\[\e[0;35m\]' # Purple
txtcyn='\[\e[0;36m\]' # Cyan
txtwht='\[\e[0;37m\]' # White
txtrst='\[\e[0m\]' # Text Reset
# Scripts To Run
source ~/.git-completion.bash
source ~/.git-prompt.sh
source ~/.profile
# Paths
GIT_PATH=/usr/local/git/bin
SSL_PATH=/usr/local/opt/openssl/bin
export PATH=/usr/local/bin:$GIT_PATH:$SSL_PATH:$PATH
export EDITOR=vim
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
# Terminal Prompt Config
export PS1="💕 $txtcyn\[KELLEY\] $txtpur\w$txtylw\$(__git_ps1) $txtcyn> $txtrst"
# add host name to prompt - $txtred@$txtgrn\h
# MySQL Local Config
# export MYSQL_HOST=localhost
# export MYSQL_USER=root
# export MYSQL_PASS=
# Email Config
export SMTP_SERVER=local
export SMTP_PORT=1025
export DEFAULT_DOMAIN_NAME=localhost
export DEFAULT_URL=http://localhost:3000
# Aliases
alias l='ls -a'
alias ll='ls -alh'
alias b='cd ..'
alias c='clear'
alias ga='git add -p'
alias gc='git commit -m'
alias be='bundle exec'
alias rs='rails server'
alias rc='rails console'
alias code='cd ~/Documents/code'
alias fpu='cd ~/Documents/code/fpu-online'
alias fcmt='cd ~/Documents/code/financial-coach-master-training'
alias new_email='ruby ~/Scripts/new_email'
# Load RVM into a shell session *as a function*
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment