wayneeseguin/rvm — pull request #912 by docwhat (2012-04-17 14:09:42+00:00)
Title: Don't override user's setops (zsh)

In zsh, you can prevent overriding a user's setopts
by using `emulate -L zsh` before doing any setopts.

Specifically, it sets `setopt localoptions`.

We should probably make it a habit to set that in every function we do the ZSH/BASH detection.

Since I wrote the code originally, it's my fault. :-(

There is one place where I put a TODO since I'm not sure where `no_nomatch` is required; it's just set globally.