With zsh `setopt warn_create_global` the "shell" command used to cause a warning message: scalar parameter RBENV_VERSION_OLD created globally in function rbenv. By using `typeset -g` specifically for zsh, this warning goes away.
read -a
--usage
hash -r