mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 04:19:41 -08:00
docs(configuration): revise reference links
This commit is contained in:
parent
0e4898d875
commit
48746495d4
|
@ -11,7 +11,7 @@ This feature only works in `powershell` for the time being.
|
|||
The debug prompt is displayed when you debug a script from the command line or Visual Studio Code.
|
||||
The default is `[DBG]: `.
|
||||
|
||||
You can use go [text/template][go-text-template] templates extended with [sprig][sprig] to enrich the text.
|
||||
You can use go [text/template][go-text-template] [templates][templates] extended with [sprig][sprig] to enrich the text.
|
||||
Environment variables are available, just like the [`console_title_template`][console-title] functionality.
|
||||
|
||||
## Configuration
|
||||
|
@ -38,7 +38,7 @@ The configuration has the following properties:
|
|||
- foreground_templates: foreground [color templates][color-templates]
|
||||
- background: `string` [color][colors]
|
||||
- background_templates: background [color templates][color-templates]
|
||||
- template: `string` - A go [text/template][go-text-template] template extended with [sprig][sprig] utilizing the
|
||||
- template: `string` - a go [text/template][go-text-template] template extended with [sprig][sprig] utilizing the
|
||||
properties below - defaults to `[DBG]: `
|
||||
|
||||
## Template ([info][templates])
|
||||
|
|
|
@ -49,7 +49,7 @@ The configuration has the following properties:
|
|||
|
||||
- background: `string` [color][colors]
|
||||
- foreground: `string` [color][colors]
|
||||
- template: `string` - A go [text/template][go-text-template] template extended with [sprig][sprig] utilizing the
|
||||
- template: `string` - a go [text/template][go-text-template] template extended with [sprig][sprig] utilizing the
|
||||
properties below - defaults to ` `
|
||||
|
||||
## Template ([info][templates])
|
||||
|
|
|
@ -35,7 +35,7 @@ The configuration has the following properties:
|
|||
|
||||
- background: `string` [color][colors]
|
||||
- foreground: `string` [color][colors]
|
||||
- template: `string` - A go [text/template][go-text-template] template extended with [sprig][sprig] utilizing the
|
||||
- template: `string` - a go [text/template][go-text-template] template extended with [sprig][sprig] utilizing the
|
||||
properties below - defaults to `> `
|
||||
|
||||
## Template ([info][templates])
|
||||
|
|
|
@ -38,7 +38,7 @@ understand how to configure a segment.
|
|||
- invert_powerline: `boolean`
|
||||
- leading_diamond: `string`
|
||||
- trailing_diamond: `string`
|
||||
- template: `string` a go text/template [template][templates] to render the prompt
|
||||
- template: `string` a go [text/template][go-text-template] [template][templates] to render the prompt
|
||||
- foreground: `string` [color][colors]
|
||||
- foreground_templates: foreground [color templates][color-templates]
|
||||
- background: `string` [color][colors]
|
||||
|
|
|
@ -34,6 +34,5 @@ To learn more about templates and their possibilities, have a look at the [templ
|
|||
}
|
||||
```
|
||||
|
||||
[go-text-template]: https://golang.org/pkg/text/template/
|
||||
[sprig]: https://masterminds.github.io/sprig/
|
||||
[templates]: /docs/configuration/templates
|
||||
|
|
|
@ -48,7 +48,7 @@ The configuration has the following properties:
|
|||
- foreground_templates: foreground [color templates][color-templates]
|
||||
- background: `string` [color][colors]
|
||||
- background_templates: background [color templates][color-templates]
|
||||
- template: `string` - A go [text/template][go-text-template] template extended with [sprig][sprig] utilizing the
|
||||
- template: `string` - a go [text/template][go-text-template] template extended with [sprig][sprig] utilizing the
|
||||
properties below - defaults to `{{ .Shell }}> `
|
||||
|
||||
## Template ([info][templates])
|
||||
|
|
Loading…
Reference in a new issue