mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-03-05 20:49:04 -08:00
chore: remove prefix and postfix
This commit is contained in:
parent
f1ffd3997a
commit
82f3400814
|
@ -44,7 +44,6 @@ func TestParseTestConfig(t *testing.T) {
|
||||||
"foreground": "#ffffff",
|
"foreground": "#ffffff",
|
||||||
"background": "#61AFEF",
|
"background": "#61AFEF",
|
||||||
"properties": {
|
"properties": {
|
||||||
"prefix": " \uE5FF ",
|
|
||||||
"style": "folder",
|
"style": "folder",
|
||||||
"exclude_folders": [
|
"exclude_folders": [
|
||||||
"/super/secret/project"
|
"/super/secret/project"
|
||||||
|
|
|
@ -63,7 +63,7 @@ The syntax is custom but should be rather straight-forward: `<foreground,backgro
|
||||||
`<#ffffff,#000000>this is white with black background</> <#FF479C>but this is pink</>`.
|
`<#ffffff,#000000>this is white with black background</> <#FF479C>but this is pink</>`.
|
||||||
Anything between the color start `<#FF479C>` and end `</>` will be colored accordingly.
|
Anything between the color start `<#FF479C>` and end `</>` will be colored accordingly.
|
||||||
|
|
||||||
If you want `prefix` to print a colored bracket that isn't the same as the segment's `foreground`, you can
|
If you want to print a colored bracket that isn't the same as the segment's `foreground`, you can
|
||||||
do so like this:
|
do so like this:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
|
|
|
@ -67,7 +67,6 @@ if we're at the last segment). Expects segments to have a colored background, el
|
||||||
### Plain
|
### Plain
|
||||||
|
|
||||||
Simple. Colored text on a transparent background. Make sure to set `foreground` for maximum enjoyment.
|
Simple. Colored text on a transparent background. Make sure to set `foreground` for maximum enjoyment.
|
||||||
Segments will be separated by empty spaces unless you specify `''` for the `prefix` and `postfix` settings for the segment.
|
|
||||||
|
|
||||||
### Diamond
|
### Diamond
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue