mirror of
https://github.com/starship/starship.git
synced 2024-11-29 19:53:38 +01:00
c8a5adb412
* Add starship preset command * Use ValueEnum for preset command * Generate ValueEnum struct in build.rs * Use absolute paths and refactor codegen * Use dunce to canonicalize path * Use raw string literal in include_bytes! * Use .cloned() * Apply fixes * Fix path escaping * Removed error message if stdout is unavailable Co-authored-by: David Knaack <davidkna@users.noreply.github.com> Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
18 lines
517 B
Markdown
18 lines
517 B
Markdown
[Return to Presets](./README.md#no-runtime-versions)
|
|
|
|
# No Runtime Versions Preset
|
|
|
|
This preset hides the version of language runtimes. If you work in containers or virtualized environments, this one is for you!
|
|
|
|
![Screenshot of Hide Runtime Versions preset](/presets/img/no-runtime-versions.png)
|
|
|
|
### Configuration
|
|
|
|
```sh
|
|
starship preset no-runtime-versions > ~/.config/starship.toml
|
|
```
|
|
|
|
[Click to download TOML](/presets/toml/no-runtime-versions.toml)
|
|
|
|
<<< @/.vuepress/public/presets/toml/no-runtime-versions.toml
|