Powerlevel9k / powerlevel9k

Powerlevel9k was a tool for building a beautiful and highly functional CLI, customized for you. P9k had a substantial impact on CLI UX, and its legacy is now continued by P10k.
https://github.com/romkatv/powerlevel10k
MIT License
13.46k stars 949 forks source link

[Bugfix] Make prompt_rvm list gemset #1353

Open MartyBeGood opened 4 years ago

MartyBeGood commented 4 years ago

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

The documentation for rvm-prompt says that

So

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.