Skip to content

current_gemset returns empty string #8925

Closed
@inopinatus

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.

Metadata

Assignees

No one assigned

    Labels

    Area: pluginIssue or PR related to a pluginBugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions