Skip to content

Instantly share code, notes, and snippets.

@ZoomQuiet
Created December 17, 2012 16:30
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 ZoomQuiet/4319627 to your computer and use it in GitHub Desktop.
Save ZoomQuiet/4319627 to your computer and use it in GitHub Desktop.
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
# 111228 appended for brew bash-completion
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
# This is for SIP (and PyQT) as suggested by Homebrew
export PYTHONPATH=/usr/local/lib/python:/Library/Python/2.7/site-packages/ChartDirector/lib/:$PYTHONPATH
# 111220 for shell define base env.
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
# base http://linuxtoy.org/archives/history-command-usage-examples.html
# cnf history remember zise...
HISTSIZE=2048
HISTFILESIZE=2048
# 111223 for Homebrew new tmp path
export HOMEBREW_TEMP=/opt/tmp
export PATH=/usr/local/bin:$PATH
export PATH=/usr/local/sbin:$PATH
export PATH=/usr/local/share/aclocal:$PATH
export PATH=/Library/Frameworks/Python.framework/Versions/3.2/bin:$PATH
# 121213 for nrew Ruby 1.9.*
export PATH=/usr/local/Cellar/ruby/1.9.3-p327/bin:$PATH
# 121217 FFMpeg need:
#export CFLAGS=`freetype-config --cflags`
#export LDFLAGS=`freetype-config --libs`
#export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/X11/lib/pkgconfig
##
# Your previous /Users/zoomq/.profile file was backed up as /Users/zoomq/.profile.macports-saved_2011-12-25_at_00:06:02
##
# MacPorts Installer addition on 2011-12-25_at_00:06:02: adding an appropriate PATH variable for use with MacPorts.
#export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.
# 120315 for Py in MAC:Set architecture flags
export ARCHFLAGS="-arch x86_64"
# 120427 for GAE4go1
export PATH=/opt/sbin/google_appengine_go:$PATH
# 120214 for npm
export NODE_PATH="/usr/local/lib/node_modules"
# 120719 for SVN
export SVN_EDITOR="vim"
export EDITOR="vim"
# 121213 RVM needed
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment