fix detecting array offsets for ZSH - fix trusting .rvmrc files, fix #1900