Last active
August 29, 2015 14:17
-
-
Save jsplink/8c3de9791ddfc5643b02 to your computer and use it in GitHub Desktop.
bash_profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Specifically for MaxOSX | |
# ================== | |
# TERMINAL CONFIGS | |
# ================== | |
# color scheme | |
PS1='\[\033[0;32m\]\u@\h\[\033[0;36m\] \w\[\033[00m\]: ' | |
# bash history modifications | |
shopt -s histappend | |
HISTFILESIZE=1000000 | |
HISTSIZE=100000 | |
HISTCONTROL=ignoreboth | |
HISTIGNORE='ls:bg:fg:history' | |
HISTTIMEFORMAT='%F %T ' | |
shopt -s cmdhist | |
PROMPT_COMMAND='history -a' | |
# C/C++ build flags | |
#export CFLAGS=-Qunused-arguments | |
#export CPPFLAGS=-Qunused-arguments | |
source ~/.profile | |
source ~/.aliases | |
# ================== | |
# MAIN PATH | |
# ================== | |
# overwrite for simplicity and explicity | |
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/git/bin | |
# python 2.7 | |
VIRTUALENVWRAPPER_PYTHON=/Users/${USER}/.pyenv/shims/python | |
# ================== | |
# PYTHON STUFF | |
# ================== | |
export PIP_DOWNLOAD_CACHE=$HOME/.pipcache | |
# pyenv | |
export WORKON_HOME="/Users/${USER}/.virtualenvs" | |
export PYENV_VIRTUALENVWRAPPER_PREFER_PYVENV="true" | |
export PYENV_VERSION=2.7.8 | |
export PYENV_ROOT="${HOME}/.pyenv" | |
export PATH="${PYENV_ROOT}/bin:$PATH" | |
eval "$(pyenv init -)"; | |
eval "$(pyenv virtualenv-init -)" | |
pyenv virtualenvwrapper_lazy | |
# ================== | |
# OTHER LANGUAGE CONFIGS | |
# ================== | |
export EDITOR="/usr/bin/vim" | |
export ALT_EDITOR="/usr/local/bin/subl" | |
[[ -s "${HOME}/.rvm/scripts/rvm" ]] && source "${HOME}/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* | |
rvm use system; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment