You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
powerlevel10k/internal
Hartley McGuire b8c6c6f42f
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
```
2 years ago
..
configure.zsh don't auto-start configuration wizard if it's likely that zshrc is broken 3 years ago
icons.zsh rename arch to cpu_arch and rewrite it (#1752) 2 years ago
notes.md notes 4 years ago
p10k.zsh Add chruby config to hide RUBY_ENGINE when "ruby" 2 years ago
parser.zsh don't leak 'token' local variable in parser (#1407) 3 years ago
wizard.zsh fix a bug introduced in cf1b586515 2 years ago
worker.zsh survive broken $TMPDIR 3 years ago