docs: Added more bracketed segments (#2769)

A few of the supported segments were missing from the preset, have now
been added.
This commit is contained in:
Diego Zamboni 2021-05-29 18:46:19 +02:00 committed by GitHub
parent 4e28d61898
commit 51f0ec1159
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

View File

@ -103,6 +103,9 @@ After:
### Configuration ### Configuration
```toml ```toml
[aws]
format = '\[[$symbol($profile)(\($region\))(\[$duration\])]($style)\]'
[cmake] [cmake]
format = '\[[$symbol($version)]($style)\]' format = '\[[$symbol($version)]($style)\]'
@ -136,6 +139,9 @@ format = '\[[$symbol($version)]($style)\]'
[erlang] [erlang]
format = '\[[$symbol($version)]($style)\]' format = '\[[$symbol($version)]($style)\]'
[gcloud]
format = '\[[$symbol$account(@$domain)(\($region\))]($style)\]'
[git_branch] [git_branch]
format = '\[[$symbol$branch]($style)\]' format = '\[[$symbol$branch]($style)\]'
@ -148,6 +154,9 @@ format = '\[[$symbol($version)]($style)\]'
[helm] [helm]
format = '\[[$symbol($version)]($style)\]' format = '\[[$symbol($version)]($style)\]'
[hg_branch]
format = '\[[$symbol$branch]($style)\]'
[java] [java]
format = '\[[$symbol($version)]($style)\]' format = '\[[$symbol($version)]($style)\]'
@ -157,6 +166,9 @@ format = '\[[$symbol($version)]($style)\]'
[kotlin] [kotlin]
format = '\[[$symbol($version)]($style)\]' format = '\[[$symbol($version)]($style)\]'
[kubernetes]
format = '\[[$symbol$context( \($namespace\))]($style)\]'
[lua] [lua]
format = '\[[$symbol($version)]($style)\]' format = '\[[$symbol($version)]($style)\]'
@ -175,6 +187,9 @@ format = '\[[$symbol($version)]($style)\]'
[ocaml] [ocaml]
format = '\[[$symbol($version)(\($switch_indicator$switch_name\))]($style)\]' format = '\[[$symbol($version)(\($switch_indicator$switch_name\))]($style)\]'
[openstack]
format = '\[[$symbol$cloud(\($project\))]($style)\]'
[package] [package]
format = '\[[$symbol$version]($style)\]' format = '\[[$symbol$version]($style)\]'
@ -208,9 +223,18 @@ format = '\[[$symbol($version)]($style)\]'
[terraform] [terraform]
format = '\[[$symbol$workspace]($style)\]' format = '\[[$symbol$workspace]($style)\]'
[time]
format = '\[[$time]($style)\]'
[username]
format = '\[[$user]($style)\]'
[vagrant] [vagrant]
format = '\[[$symbol($version)]($style)\]' format = '\[[$symbol($version)]($style)\]'
[vlang]
format = '\[[$symbol($version)]($style)\]'
[zig] [zig]
format = '\[[$symbol($version)]($style)\]' format = '\[[$symbol($version)]($style)\]'
``` ```