mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 20:39:40 -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 debug prompt is displayed when you debug a script from the command line or Visual Studio Code.
|
||||||
The default is `[DBG]: `.
|
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.
|
Environment variables are available, just like the [`console_title_template`][console-title] functionality.
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
@ -38,7 +38,7 @@ The configuration has the following properties:
|
||||||
- foreground_templates: foreground [color templates][color-templates]
|
- foreground_templates: foreground [color templates][color-templates]
|
||||||
- background: `string` [color][colors]
|
- background: `string` [color][colors]
|
||||||
- background_templates: background [color templates][color-templates]
|
- 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]: `
|
properties below - defaults to `[DBG]: `
|
||||||
|
|
||||||
## Template ([info][templates])
|
## Template ([info][templates])
|
||||||
|
|
|
@ -49,7 +49,7 @@ The configuration has the following properties:
|
||||||
|
|
||||||
- background: `string` [color][colors]
|
- background: `string` [color][colors]
|
||||||
- foreground: `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 ` `
|
properties below - defaults to ` `
|
||||||
|
|
||||||
## Template ([info][templates])
|
## Template ([info][templates])
|
||||||
|
|
|
@ -35,7 +35,7 @@ The configuration has the following properties:
|
||||||
|
|
||||||
- background: `string` [color][colors]
|
- background: `string` [color][colors]
|
||||||
- foreground: `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 `> `
|
properties below - defaults to `> `
|
||||||
|
|
||||||
## Template ([info][templates])
|
## Template ([info][templates])
|
||||||
|
|
|
@ -38,7 +38,7 @@ understand how to configure a segment.
|
||||||
- invert_powerline: `boolean`
|
- invert_powerline: `boolean`
|
||||||
- leading_diamond: `string`
|
- leading_diamond: `string`
|
||||||
- trailing_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: `string` [color][colors]
|
||||||
- foreground_templates: foreground [color templates][color-templates]
|
- foreground_templates: foreground [color templates][color-templates]
|
||||||
- background: `string` [color][colors]
|
- 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/
|
[sprig]: https://masterminds.github.io/sprig/
|
||||||
[templates]: /docs/configuration/templates
|
[templates]: /docs/configuration/templates
|
||||||
|
|
|
@ -48,7 +48,7 @@ The configuration has the following properties:
|
||||||
- foreground_templates: foreground [color templates][color-templates]
|
- foreground_templates: foreground [color templates][color-templates]
|
||||||
- background: `string` [color][colors]
|
- background: `string` [color][colors]
|
||||||
- background_templates: background [color templates][color-templates]
|
- 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 }}> `
|
properties below - defaults to `{{ .Shell }}> `
|
||||||
|
|
||||||
## Template ([info][templates])
|
## Template ([info][templates])
|
||||||
|
|
Loading…
Reference in a new issue