Created
July 1, 2009 23:44
-
-
Save slaskis/139156 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# 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