Mislav Marohnić f2ac882579
rbenv shell: properly declare global variables for zsh (#1566)
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.
2024-04-29 14:20:21 +02:00
..
2023-05-13 00:14:21 -07:00
2021-09-29 20:47:10 +02:00
2013-10-31 20:18:14 +02:00
2013-03-07 15:07:32 -05:00
2012-12-29 22:05:04 -06:00