Created
July 15, 2012 21:21
-
-
Save sholloway/3118677 to your computer and use it in GitHub Desktop.
Part of my bash profile
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
#call .bashrc if I'm logging in remotely. | |
if [ -f ~/.bashrc ]; then | |
source ~/.bashrc | |
fi | |
#Enable RVM to work as a system function | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" | |
#get ls the way I like it | |
alias ls='ls -aGF' | |
#always load rubygems | |
RUBYOPT="rubygems" | |
export RUBYOPT | |
#create an alias for lldb | |
alias lldb="/Developer/usr/bin/lldb" | |
#enable OpenGL Debugging | |
GL_ENABLE_DEBUG_ATTACH=YES | |
#Create a function for fast OpenGL Error debugging | |
#The function takes in a hex number | |
function gl_error() | |
{ | |
grep "$@" /System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/gl3.h; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment