Skip to content

Instantly share code, notes, and snippets.

@MikeiLL
Created August 1, 2016 15:42
Show Gist options
  • Select an option

  • Save MikeiLL/8b347f089f69e8bfab8f0ba981b178da to your computer and use it in GitHub Desktop.

Select an option

Save MikeiLL/8b347f089f69e8bfab8f0ba981b178da to your computer and use it in GitHub Desktop.
#as per http://hackercodex.com/guide/python-development-environment-on-mac-osx/
# pip should only run if there is a virtualenv currently activated
export PIP_REQUIRE_VIRTUALENV=false
# cache pip-installed packages to avoid re-downloading
export PIP_DOWNLOAD_CACHE=$HOME/.pip/cache
gpip(){
PIP_REQUIRE_VIRTUALENV="" pip "$@"
}
# In case there's anything in there we need:
source ~/.profile
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
# [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
# do i need to add this:
# source /Users/mikekilmer/.rvm/scripts/rvm
# doesn't look like it
# this might make gettext available in env
PATH=$PATH:/Applications/Poedit.app/Contents/MacOS
#Add packer to the path
PATH="$PATH:/usr/local/bin/packer_0.8.5_darwin_amd64"
# Set up php-cli
export MAMP_PHP=/Applications/MAMP/bin/php/php5.6.2/bin
export PATH="$MAMP_PHP:$PATH"
# export PATH don't think we need that here.
eval "$(rbenv init -)"
# I forget what I had added MAMP to the path for, MySQL, maybe.
# Going to try moving to end of path rather than beginning
# so we're not getting the MAMP python version
#export PATH="/Applications/MAMP/Library/bin:${PATH}"
export PATH="${PATH}:/Applications/MAMP/Library/bin"
# export PATH="$HOME/.node/bin:$PATH" This was for Homebrew node version
PATH="/usr/local/bin:/usr/local/sbin:~/bin:$PATH"
export PATH
export NODE_PATH="/usr/local/bin/node"
export PATH=$(brew --prefix ruby)/bin:$PATH
export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python
export VIRTUALENVWRAPPER_VIRTUALENV=/usr/local/bin/virtualenv
export WORKON_HOME=$HOME/Envs
source /usr/local/bin/virtualenvwrapper.sh
export ECHO_NEST_API_KEY="TX2IDAM1HXOO99YPB"
# for lilypond
export PATH=$PATH:~/bin:/usr/texbin
# Aliases here
# COMMANDS
alias s3ltv='s3cmd -c ~/.s3cfg-ltv'
alias s3ofn='s3cmd -c ~/.s3cfg-ofn'
alias zippit="bash ~/Documents/Vault/Shed/managed-directory-compressor/managed_directory_compressor.sh"
alias affinity="open -a Affinity\ Designer.app"
alias tw="open -a TextWrangler.app"
#play midi files using Quicktime 7
alias midi="open -a /Applications/Utilities/QuickTime\ Player\ 7.app"
alias ls='ls -GFh'
# DIRECTORIES
alias mbo="cd ~/Sites/uru.localhost/wp-content/plugins/mz-mindbody-api/"
alias ofn="cd ~/Documents/Clients/UsFoodCoop/OpenFoodNetwork/"
# etc...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment