aboutsummaryrefslogtreecommitdiff
path: root/gitstatus
diff options
context:
space:
mode:
authorHartley McGuire <skipkayhil@gmail.com>2022-10-26 00:49:05 +0300
committerHartley McGuire <skipkayhil@gmail.com>2022-11-02 04:09:52 +0300
commitb8c6c6f42f8b40fb7668bcb23c4abbd416234fc1 (patch)
treebb25410e9c898c30959e4a72be152ba80e303320 /gitstatus
parent8091c8a3a8a845c70046684235a01cd500075def (diff)
Add chruby config to hide RUBY_ENGINE when "ruby"
Previously, the chruby segment looks like this for standard and non-standard ruby implementations respectively: ``` Ruby ruby 3.1.2 Ruby truffleruby 3.0.3 ``` While displaying the RUBY_ENGINE is helpful for non-standard implementations, showing it for "ruby" results in "Ruby ruby" which feels redundant. This commit adds a new configuration option to disable showing the RUBY_ENGINE when it is "ruby". Other values for RUBY_ENGINE will always display as before: ``` Ruby 3.1.2 Ruby truffleruby 3.0.3 ``` This also makes the formatting more similar to the asdf segment: ``` Ruby 3.1.2 Ruby truffleruby-22.3.0 ```
Diffstat (limited to 'gitstatus')
0 files changed, 0 insertions, 0 deletions