mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-02 05:41:10 -08:00
docs: add missing version parameter
This commit is contained in:
parent
c0c230879a
commit
3f83944dc3
|
@ -31,6 +31,7 @@ starting point to create your own configuration.
|
||||||
{
|
{
|
||||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||||
"final_space": true,
|
"final_space": true,
|
||||||
|
"version": 2,
|
||||||
"blocks": [
|
"blocks": [
|
||||||
{
|
{
|
||||||
"type": "prompt",
|
"type": "prompt",
|
||||||
|
@ -58,6 +59,7 @@ starting point to create your own configuration.
|
||||||
```yaml
|
```yaml
|
||||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
|
||||||
final_space: true
|
final_space: true
|
||||||
|
version: 2
|
||||||
blocks:
|
blocks:
|
||||||
- type: prompt
|
- type: prompt
|
||||||
alignment: left
|
alignment: left
|
||||||
|
@ -77,6 +79,7 @@ blocks:
|
||||||
```toml
|
```toml
|
||||||
"$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json"
|
"$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json"
|
||||||
final_space = true
|
final_space = true
|
||||||
|
version = 2
|
||||||
|
|
||||||
[[blocks]]
|
[[blocks]]
|
||||||
type = "prompt"
|
type = "prompt"
|
||||||
|
|
Loading…
Reference in a new issue