oh-my-posh/website/docs/configuration
Tucker Beck b4fe0a09ce
Some checks failed
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
Release / msi (arm64) (push) Blocked by required conditions
Release / msi (x64) (push) Blocked by required conditions
Release / msi (x86) (push) Blocked by required conditions
Release / cdn (arm64) (push) Blocked by required conditions
Release / cdn (x64) (push) Blocked by required conditions
Release / cdn (x86) (push) Blocked by required conditions
Release / release (push) Blocked by required conditions
Azure Static Web Apps CI/CD / Build and Deploy (push) Has been cancelled
feat(block): allow templates for filler text
This change allows the user to specify a template for filler so that
different behavior can be configured when the block is handling an
overflow.

An example configuration might be:

```yaml
- type: prompt
  alignment: right
  filler: "{{ if .Overflow }} {{ else }}<#3d59a1,transparent>━</>{{ end }}"
  overflow: break
```

This would draw filler text ("-") when there is no overflow and empty
space when there is an overflow.
2024-11-28 19:49:48 +01:00
..
block.mdx feat(block): allow templates for filler text 2024-11-28 19:49:48 +01:00
colors.mdx feat(color): enable accent color for macOS 2024-10-07 16:07:22 +02:00
debug-prompt.mdx docs: use Config component instead of raw JSON 2024-11-04 12:15:40 +01:00
example.mdx chore: remove all version 2 references 2024-11-08 16:29:05 +01:00
general.mdx chore: remove all version 2 references 2024-11-08 16:29:05 +01:00
introduction.md docs: use Config component instead of raw JSON 2024-11-04 12:15:40 +01:00
line-error.mdx docs: use Config component instead of raw JSON 2024-11-04 12:15:40 +01:00
secondary-prompt.mdx docs: use Config component instead of raw JSON 2024-11-04 12:15:40 +01:00
segment.mdx feat(language): allow tweaking version cache 2024-11-08 16:15:29 +01:00
templates.mdx chore: remove all version 2 references 2024-11-08 16:29:05 +01:00
title.mdx docs: use Config component instead of raw JSON 2024-11-04 12:15:40 +01:00
tooltips.mdx feat(tooltips): allow multiple tooltips for tip 2024-06-14 13:10:52 +02:00
transient.mdx docs: use Config component instead of raw JSON 2024-11-04 12:15:40 +01:00