Created
March 25, 2012 22:34
-
-
Save chrisbelyea/2200445 to your computer and use it in GitHub Desktop.
Output of 'type gem'
This file contains 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
gem is a function | |
gem () | |
{ | |
typeset result; | |
( typeset rvmrc; | |
for rvmrc in /etc/rvmrc "${HOME:-}/.rvmrc"; | |
do | |
[[ -s "${rvmrc}" ]] && source "${rvmrc}" || true; | |
done; | |
command gem "$@" ) || result=$?; | |
hash -r; | |
return ${result:-0} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment