You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/configuration.md
+7-10Lines changed: 7 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -182,12 +182,10 @@ You can use these on any segment, the engine is responsible for adding them corr
182
182
##### Prefix
183
183
184
184
The string content will be put in front of the segment's output text. Useful for symbols, text or other customizations.
185
-
Defaults to `<color>\u2588</>` where `color` is the background color of the segment.
186
185
187
186
##### Postfix
188
187
189
188
The string content will be put after the segment's output text. Useful for symbols, text or other customizations.
190
-
Defaults to `<color>\u2588</>` where `color` is the background color of the segment.
191
189
192
190
##### Ignore Folders
193
191
@@ -202,10 +200,9 @@ segment's configuration will not render it when in that location. The engine wil
202
200
203
201
#### Colors
204
202
205
-
You have the ability to override the foreground and/or background color for text in any property that accepts it.
206
-
The syntax is custom but should be rather straighforward:
207
-
`<#ffffff,#000000>this is white with black background</> <#FF479C>but this is pink</>`.
208
-
Anything between the color start `<#FF479C>` and end `</>` will be colored accordingly.
203
+
You have the ability to override the foreground and/or background color for text in any property that accepts it. The syntax is custom but
204
+
should be rather straighforward: `<#ffffff,#000000>this is white with black background</> <#FF479C>but this is pink</>`. Anything between the color start
205
+
`<#FF479C>` and end `</>` will be colored accordingly.
209
206
210
207
For example, if you want `prefix` to print a colored bracket which isn't the same as the segment's `foreground`, you can
211
208
do so like this:
@@ -227,11 +224,12 @@ To change *only* the background color, just omit the first color from the above
227
224
```
228
225
229
226
Oh my Posh mainly supports three different color types being
227
+
* Typical [hex colors][hexcolors] (for example `#CB4B16`).
230
228
231
-
- Typical [hex colors][hexcolors] (for example `#CB4B16`).
232
-
- The `transparent` keyword which can be used to create either a transparent foreground override
229
+
* The `transparent` keyword which can be used to create either a transparent foreground override
233
230
or transparent background color using the segement's foreground property.
234
-
- 16 [ANSI color names][ansicolors].
231
+
232
+
* 16 [ANSI color names][ansicolors].
235
233
236
234
These include 8 basic ANSI colors and `default`:
237
235
@@ -256,7 +254,6 @@ Oh my Posh mainly supports three different color types being
0 commit comments