mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-02 05:41:10 -08:00
chore(schema): correct properties of cache
in segment
This commit is contained in:
parent
0a5e1f6e8e
commit
2c982b2f0d
|
@ -485,20 +485,18 @@
|
|||
"cache": {
|
||||
"type": "object",
|
||||
"title": "Cache settings",
|
||||
"description": "https://ohmyposh.dev/docs/configuration/cache",
|
||||
"description": "https://ohmyposh.dev/docs/configuration/segment#cache",
|
||||
"default": {},
|
||||
"properties": {
|
||||
"duration": {
|
||||
"type": "string",
|
||||
"title": "Cache duration",
|
||||
"description": "https://ohmyposh.dev/docs/configuration/cache#duration",
|
||||
"default": "^(infinite)|([0-9])+(second|seconds|minute|minutes|hour|hours|day|days|week|weeks|month|months)$",
|
||||
"pattern": "^$"
|
||||
"pattern": "^(infinite)|([0-9])+(s|m|h)$"
|
||||
},
|
||||
"strategy": {
|
||||
"type": "string",
|
||||
"title": "Cache strategy",
|
||||
"description": "https://ohmyposh.dev/docs/configuration/cache#strategy",
|
||||
"description": "https://ohmyposh.dev/docs/configuration/segment#strategy",
|
||||
"default": "folder",
|
||||
"enum": [
|
||||
"folder",
|
||||
|
|
Loading…
Reference in a new issue