mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-28 15:56:28 +00:00
docs(preset): add Hide Runtime Versions preset (#2854)
This commit is contained in:
parent
6271db4962
commit
b041adf4dc
BIN
docs/.vuepress/public/presets/hide-runtime-versions.png
Normal file
BIN
docs/.vuepress/public/presets/hide-runtime-versions.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
@ -366,3 +366,94 @@ symbol = "scala "
|
|||||||
[swift]
|
[swift]
|
||||||
symbol = "swift "
|
symbol = "swift "
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Hide Runtime Versions
|
||||||
|
|
||||||
|
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/hide-runtime-versions.png)
|
||||||
|
|
||||||
|
### Configuration
|
||||||
|
|
||||||
|
```toml
|
||||||
|
[cmake]
|
||||||
|
format = "via [$symbol]($style)"
|
||||||
|
|
||||||
|
[crystal]
|
||||||
|
format = "via [$symbol]($style)"
|
||||||
|
|
||||||
|
[dart]
|
||||||
|
format = "via [$symbol]($style)"
|
||||||
|
|
||||||
|
[deno]
|
||||||
|
format = "via [$symbol]($style)"
|
||||||
|
|
||||||
|
[dotnet]
|
||||||
|
format = "[$symbol(🎯 $tfm )]($style)"
|
||||||
|
|
||||||
|
[elixir]
|
||||||
|
format = 'via [$symbol]($style)'
|
||||||
|
|
||||||
|
[elm]
|
||||||
|
format = 'via [$symbol]($style)'
|
||||||
|
|
||||||
|
[erlang]
|
||||||
|
format = 'via [$symbol]($style)'
|
||||||
|
|
||||||
|
[golang]
|
||||||
|
format = 'via [$symbol]($style)'
|
||||||
|
|
||||||
|
[helm]
|
||||||
|
format = 'via [$symbol]($style)'
|
||||||
|
|
||||||
|
[julia]
|
||||||
|
format = 'via [$symbol]($style)'
|
||||||
|
|
||||||
|
[kotlin]
|
||||||
|
format = 'via [$symbol]($style)'
|
||||||
|
|
||||||
|
[lua]
|
||||||
|
format = 'via [$symbol]($style)'
|
||||||
|
|
||||||
|
[nim]
|
||||||
|
format = 'via [$symbol]($style)'
|
||||||
|
|
||||||
|
[nodejs]
|
||||||
|
format = 'via [$symbol]($style)'
|
||||||
|
|
||||||
|
[ocaml]
|
||||||
|
format = 'via [$symbol(\($switch_indicator$switch_name\) )]($style)'
|
||||||
|
|
||||||
|
[perl]
|
||||||
|
format = 'via [$symbol]($style)'
|
||||||
|
|
||||||
|
[php]
|
||||||
|
format = 'via [$symbol]($style)'
|
||||||
|
|
||||||
|
[purescript]
|
||||||
|
format = 'via [$symbol]($style)'
|
||||||
|
|
||||||
|
[red]
|
||||||
|
format = 'via [$symbol]($style)'
|
||||||
|
|
||||||
|
[rlang]
|
||||||
|
format = 'via [$symbol]($style)'
|
||||||
|
|
||||||
|
[ruby]
|
||||||
|
format = 'via [$symbol]($style)'
|
||||||
|
|
||||||
|
[rust]
|
||||||
|
format = 'via [$symbol]($style)'
|
||||||
|
|
||||||
|
[swift]
|
||||||
|
format = 'via [$symbol]($style)'
|
||||||
|
|
||||||
|
[vagrant]
|
||||||
|
format = 'via [$symbol]($style)'
|
||||||
|
|
||||||
|
[vlang]
|
||||||
|
format = 'via [$symbol]($style)'
|
||||||
|
|
||||||
|
[zig]
|
||||||
|
format = 'via [$symbol]($style)'
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user