Closed
Description
Describe the bug
current_gemset returns empty string.
To Reproduce
Enable rbenv plugin on machine with rbenv and rbenv-gemset installed and working correctly, and attempt to use current_gemset. Version is fine:
[22:41] (master) inopinatus@coltrane:~/src/flails$ echo $plugins
git rbenv
[22:41] (master) inopinatus@coltrane:~/src/flails$ rbenv version-name
2.7.1
[22:41] (master) inopinatus@coltrane:~/src/flails$ current_ruby
2.7.1
but gemset is not (misparsed?):
[22:41] (master) inopinatus@coltrane:~/src/flails$ rbenv gemset active
flails global
[22:42] (master) inopinatus@coltrane:~/src/flails$ current_gemset
[22:42] (master) inopinatus@coltrane:~/src/flails$
Expected behavior
Should give current gemset in some fashion.
Desktop
- OS / Distro: macOS
- Latest ohmyzsh Update?: Yes
- ZSH Version: 5.7.1
- Terminal emulator: iTerm2
Additional context
Probably related to #4688.