Skip to content
This repository was archived by the owner on Apr 24, 2020. It is now read-only.

Conversation

@MartyBeGood
Copy link

The RVM Prompt segment doesn't display the used gemset, only the used ruby version.

The documentation for rvm-prompt says that

  • v returns the version (e.g. 2.6.0)
  • p returns the patchlevel (e.g. -rc1)
  • g returns the gemset (e.g. @foo)

So

  • rvm-prompt v p (current master) would return 2.6.0-rc1
  • we should be using rvm-prompt v p g which would return 2.6.0-rc1@foo

Also we don't need to strip a ruby- from the output string. That's the interpreter identifier (for MRI) that would be included with the i flag.

rvm-prompt v p g will not return the interpreter identifier
romkatv added a commit to romkatv/powerlevel10k that referenced this pull request Aug 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant