Skip to content

Instantly share code, notes, and snippets.

@popsikle
Created September 19, 2015 02:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save popsikle/c97c01b8ea8d6bbe861c to your computer and use it in GitHub Desktop.
Save popsikle/c97c01b8ea8d6bbe861c to your computer and use it in GitHub Desktop.
osx profiles
# Local profile
source ~/.profile
# Prrrrrommmmmpmppppttpttptpt
export PS1="\[$(tput setaf 5)\]\W\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]"
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
# Hist all things!
HISTFILESIZE=100000
# Set default editor
export EDITOR='vim'
# Export java bins
export JAVA_HOME=$(/usr/libexec/java_home)
# add local binaries to path for brew packages
export BREW_PREFIX="/usr/local"
export PATH="/usr/local/bin:$PATH"
export PATH="/usr/local/sbin:$PATH"
export PATH="$PATH:$HOME/bin"
# Lets Complete some bash!
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
# RVM
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
# Chef-DK
eval $(chef shell-init bash)
# Default Chef Profile
. ~/<chef_repo>/.bash_profile
# Ragnarok Profile
. ~/ragnarok/.bash_profile
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
PATH="${HOME}/perl5/bin${PATH+:}${PATH}"; export PATH;
PERL5LIB="${HOME}/perl5/lib/perl5${PERL5LIB+:}${PERL5LIB}"; export PERL5LIB;
PERL_LOCAL_LIB_ROOT="${HOME}/perl5${PERL_LOCAL_LIB_ROOT+:}${PERL_LOCAL_LIB_ROOT}"; export PERL_LOCAL_LIB_ROOT;
PERL_MB_OPT="--install_base \"${HOME}/perl5\""; export PERL_MB_OPT;
PERL_MM_OPT="INSTALL_BASE=${HOME}/perl5"; export PERL_MM_OPT;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment