Script no longer crashes when zsh exists but ZSH_VERSION unset or null
Merge pull request #2027 from ischwabacher/patch-1

fix displaying Zsh warnings for "bad" `ZSH_VERSION`s
clean posix check when running rvm function
Merge branch 'master' of github.com:wayneeseguin/rvm