Skip to content

Instantly share code, notes, and snippets.

@slaskis
Created July 1, 2009 23:44
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 slaskis/139156 to your computer and use it in GitHub Desktop.
Save slaskis/139156 to your computer and use it in GitHub Desktop.
# colorize the terminal
export CLICOLOR=1
export LSCOLORS=cxFxCxDxBxegedabagacad
# should be a fix for svn not being able to check out utf-8
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
# add macports to path
export PATH="/opt/local/bin:$PATH"
# add flex sdk to path
export PATH="/Developer/SDKs/Flex/3.3.0/bin:$PATH"
# add a nekopath
export NEKOPATH=/opt/local/lib/neko:/opt/local/bin
# add haxe library path
export HAXE_LIBRARY_PATH=/opt/local/lib/haxe/std:.
# Add a shortcut for rails and sinatra consoles
function sc {
if [ -x script/console ]; then
script/console
else
sinatra_rb=`egrep -l "^require.+sinatra.$" *.rb 2>/dev/null`
if [ -e $sinatra_rb ]; then
irb -r $sinatra_rb
else
irb
fi
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment