2020-11-23 10:34:24 -08:00
{
"$schema" : "http://json-schema.org/draft-07/schema" ,
2023-05-20 15:37:17 -07:00
"$id" : "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json" ,
2020-11-23 10:34:24 -08:00
"type" : "object" ,
2021-06-05 10:27:33 -07:00
"title" : "The Oh My Posh theme definition" ,
2023-10-15 22:31:32 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/general" ,
2020-11-23 10:34:24 -08:00
"definitions" : {
"color" : {
2021-11-22 06:25:56 -08:00
"anyOf" : [
2022-05-14 12:18:03 -07:00
{
"$ref" : "#/definitions/color_string"
} ,
{
"$ref" : "#/definitions/palette_reference"
}
2021-11-22 06:25:56 -08:00
]
} ,
"color_string" : {
2020-11-23 10:34:24 -08:00
"type" : "string" ,
2022-06-21 23:10:35 -07:00
"pattern" : "^(#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})|^([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$|black|red|green|yellow|blue|magenta|cyan|white|default|darkGray|lightRed|lightGreen|lightYellow|lightBlue|lightMagenta|lightCyan|lightWhite|transparent|parentBackground|parentForeground|background|foreground|accent)$" ,
2020-11-23 10:34:24 -08:00
"title" : "Color string" ,
2022-04-23 08:34:00 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/colors" ,
2021-02-21 23:16:00 -08:00
"format" : "color"
2020-11-23 10:34:24 -08:00
} ,
2021-11-22 06:25:56 -08:00
"palette_reference" : {
"type" : "string" ,
"pattern" : "^p:.*$" ,
"title" : "Palette reference" ,
2022-04-23 08:34:00 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/colors#palette"
2021-11-22 06:25:56 -08:00
} ,
2022-07-08 02:47:08 -07:00
"templates" : {
2021-02-15 03:58:03 -08:00
"type" : "array" ,
2022-07-08 02:47:08 -07:00
"title" : "An array of templates" ,
2021-02-15 03:58:03 -08:00
"default" : [ ] ,
"items" : {
2022-03-27 12:04:34 -07:00
"$ref" : "#/definitions/segment/properties/template"
2021-02-15 03:58:03 -08:00
}
} ,
2022-05-16 08:15:45 -07:00
"home_enabled" : {
"type" : "boolean" ,
"title" : "Enable in the HOME folder" ,
"description" : "Display the segment in the HOME folder" ,
"default" : false
} ,
2021-12-04 04:06:05 -08:00
"fetch_version" : {
2020-11-23 10:34:24 -08:00
"type" : "boolean" ,
2021-12-04 04:06:05 -08:00
"title" : "Fetch Version" ,
"description" : "Fetch the version number" ,
2020-11-23 10:34:24 -08:00
"default" : true
} ,
2021-08-17 23:21:55 -07:00
"http_timeout" : {
"type" : "integer" ,
2022-01-22 02:41:38 -08:00
"title" : "Http request timeout" ,
2022-08-16 12:29:12 -07:00
"description" : "Milliseconds to use for http request timeouts" ,
2021-08-17 23:21:55 -07:00
"default" : 20
} ,
2022-07-17 12:11:23 -07:00
"expires_in" : {
"type" : "integer" ,
"title" : "Expires in" ,
"description" : "Access token expiration time in seconds" ,
"default" : 0
} ,
"access_token" : {
"type" : "string" ,
"title" : "Access token" ,
"description" : "The initial access token" ,
"default" : ""
} ,
"refresh_token" : {
"type" : "string" ,
"title" : "Refresh token" ,
"description" : "The initial refresh token" ,
"default" : ""
} ,
2020-12-27 23:33:58 -08:00
"display_mode" : {
"type" : "string" ,
"title" : "Display Mode" ,
"description" : "Determines whether the segment is displayed always or only if a file matching the extensions are present in the current folder" ,
2023-01-26 06:56:47 -08:00
"enum" : [
"always" ,
"files" ,
"environment" ,
"context"
] ,
2020-12-27 23:33:58 -08:00
"default" : "context"
} ,
"missing_command_text" : {
"type" : "string" ,
"title" : "Missing command text" ,
"description" : "The string to display when the command is not available" ,
"default" : ""
} ,
2022-05-16 08:15:45 -07:00
"version_url_template" : {
"type" : "string" ,
"title" : "Version Url Template" ,
"description" : "Template that creates the URL of the version info / release notes" ,
"default" : ""
} ,
2023-06-25 23:44:17 -07:00
"status_formats" : {
"type" : "object" ,
"title" : "Status string formats" ,
"description" : "Override the status format for a specific change. Example: {\"Added\": \"Added: %d\"}" ,
"default" : { }
} ,
2024-04-04 14:20:48 -07:00
"folders" : {
"type" : "array" ,
"title" : "Folders" ,
"description" : "The folders to look for when determining if a folder is a workspace" ,
"default" : [ ] ,
"items" : {
"type" : "string"
}
} ,
"branch_max_length" : {
"type" : "integer" ,
"title" : "Branch max length" ,
"description" : "the max length for the displayed branch name where 0 implies full length" ,
"default" : 0
} ,
"truncate_symbol" : {
"type" : "string" ,
"title" : "Truncate Symbol" ,
"description" : "Icon/text to use to indicate that the branch name has been truncated" ,
"default" : ""
} ,
"native_fallback" : {
"type" : "boolean" ,
"title" : "Native Fallback" ,
2024-11-10 19:44:54 -08:00
"description" : "Try to use the WSL 2 native command in a shared Windows drive if the Windows executable is not found." ,
2024-04-04 14:20:48 -07:00
"default" : false
} ,
"full_branch_path" : {
"type" : "boolean" ,
"title" : "Full branch path" ,
2024-07-26 14:06:10 -07:00
"description" : "display the full branch path instead of only the last part (e.g. feature/branch instead of branch)" ,
2024-04-04 14:20:48 -07:00
"default" : true
} ,
2024-07-26 14:06:10 -07:00
"mapped_branches" : {
"type" : "object" ,
"title" : "Mapped Branches" ,
"description" : "Custom glyph/text for specific branches" ,
"default" : { }
} ,
2024-11-06 18:26:26 -08:00
"cache_duration" : {
"type" : "string" ,
"title" : "Cache duration" ,
"description" : "The duration for which the segment will be cached. This is parsed using the `time.ParseDuration` function from the Go standard library (see https://pkg.go.dev/time#ParseDuration for details)." ,
2024-11-08 03:04:41 -08:00
"pattern" : "^(none|infinite|([0-9]+(h|m|s))+)$"
2024-11-06 18:26:26 -08:00
} ,
2024-11-07 05:54:43 -08:00
"filler" : {
"type" : "string" ,
"title" : "Filler" ,
"description" : "Right aligned filler text, will span the remaining width."
} ,
2022-02-19 07:49:26 -08:00
"extra_prompt" : {
"type" : "object" ,
"default" : { } ,
"properties" : {
"template" : {
"type" : "string" ,
"title" : "Prompt Template"
} ,
2022-05-14 12:18:03 -07:00
"foreground" : {
"$ref" : "#/definitions/color"
} ,
"foreground_templates" : {
2022-07-08 02:47:08 -07:00
"$ref" : "#/definitions/templates" ,
"description" : "https://ohmyposh.dev/docs/configuration/colors#color-templates"
2022-05-14 12:18:03 -07:00
} ,
"background" : {
"$ref" : "#/definitions/color"
} ,
"background_templates" : {
2022-07-08 02:47:08 -07:00
"$ref" : "#/definitions/templates" ,
"description" : "https://ohmyposh.dev/docs/configuration/colors#color-templates"
2022-05-14 12:18:03 -07:00
}
2022-02-19 07:49:26 -08:00
}
} ,
2020-11-23 10:34:24 -08:00
"block" : {
"type" : "object" ,
2022-04-23 08:34:00 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/block" ,
2020-11-23 10:34:24 -08:00
"allOf" : [
2020-12-17 23:59:45 -08:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "prompt"
}
2020-12-17 23:59:45 -08:00
}
2020-11-23 10:34:24 -08:00
} ,
2020-12-17 23:59:45 -08:00
"then" : {
2023-01-26 06:56:47 -08:00
"required" : [
"type" ,
"alignment" ,
"segments"
] ,
2020-11-23 10:34:24 -08:00
"title" : "Prompt definition, contains 1 or more segments to render"
}
2020-12-17 23:59:45 -08:00
} ,
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "rprompt"
}
2020-12-17 23:59:45 -08:00
}
} ,
"then" : {
2023-01-26 06:56:47 -08:00
"required" : [
"type" ,
"segments"
] ,
2020-12-15 05:58:15 -08:00
"title" : "RPrompt definition, contains 1 or more segments to render to the right of the cursor"
2020-12-17 23:59:45 -08:00
}
2022-06-27 10:39:31 -07:00
} ,
{
"if" : {
"properties" : {
"type" : {
"const" : "prompt"
} ,
"alignment" : {
"const" : "right"
}
}
} ,
"then" : {
"properties" : {
2022-06-27 14:05:15 -07:00
"overflow" : {
2022-06-27 10:39:31 -07:00
"type" : "string" ,
"title" : "Block overflow" ,
"description" : "https://ohmyposh.dev/docs/configuration/block#overflow" ,
2023-01-26 06:56:47 -08:00
"enum" : [
"break" ,
"hide"
] ,
2022-06-27 10:39:31 -07:00
"default" : ""
2024-11-07 05:54:43 -08:00
} ,
"filler" : {
"$ref" : "#/definitions/filler" ,
"description" : "https://ohmyposh.dev/docs/configuration/block#filler"
2022-06-27 10:39:31 -07:00
}
}
}
2020-11-23 10:34:24 -08:00
}
] ,
"properties" : {
"type" : {
"type" : "string" ,
"title" : "Block type" ,
2022-04-23 08:34:00 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/block#type" ,
2023-01-26 06:56:47 -08:00
"enum" : [
"prompt" ,
"rprompt"
] ,
2020-11-23 10:34:24 -08:00
"default" : "prompt"
} ,
"alignment" : {
"type" : "string" ,
"title" : "Block alignment" ,
2022-04-23 08:34:00 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/block#alignment" ,
2023-01-26 06:56:47 -08:00
"enum" : [
"left" ,
"right"
] ,
2020-11-23 10:34:24 -08:00
"default" : "left"
} ,
2021-04-18 10:16:06 -07:00
"newline" : {
"type" : "boolean" ,
"title" : "Newline" ,
2022-04-23 08:34:00 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/block#newline" ,
2021-04-18 10:16:06 -07:00
"default" : false
} ,
2024-06-21 02:07:13 -07:00
"leading_diamond" : {
"type" : "string" ,
"title" : "Leading diamond" ,
"description" : "https://ohmyposh.dev/docs/configuration/block#leading-diamond" ,
"default" : ""
} ,
"trailing_diamond" : {
"type" : "string" ,
"title" : "Trailing diamond" ,
"description" : "https://ohmyposh.dev/docs/configuration/block#trailing-diamond" ,
"default" : ""
} ,
2020-11-23 10:34:24 -08:00
"segments" : {
"type" : "array" ,
"title" : "Segments list, prompt elements to display based on context" ,
2022-04-23 08:34:00 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/block#segments" ,
2020-11-23 10:34:24 -08:00
"default" : [ ] ,
2022-05-14 12:18:03 -07:00
"items" : {
"$ref" : "#/definitions/segment"
}
2020-11-23 10:34:24 -08:00
}
}
} ,
"segment" : {
"type" : "object" ,
"title" : "A segment" ,
2022-04-23 08:34:00 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/segment" ,
2020-11-23 10:34:24 -08:00
"default" : { } ,
2023-01-26 06:56:47 -08:00
"required" : [
"type" ,
"style"
] ,
2020-11-23 10:34:24 -08:00
"properties" : {
"type" : {
"type" : "string" ,
"title" : "Segment Type" ,
2024-05-01 09:15:23 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/segment" ,
2020-11-23 10:34:24 -08:00
"enum" : [
"az" ,
2024-06-05 16:15:57 -07:00
"azd" ,
2022-05-01 21:10:44 -07:00
"aws" ,
"azfunc" ,
2024-03-29 19:55:31 -07:00
"argocd" ,
2022-05-01 21:10:44 -07:00
"angular" ,
2024-11-05 10:40:31 -08:00
"aurelia" ,
2022-05-01 21:10:44 -07:00
"battery" ,
2024-03-29 19:55:31 -07:00
"bazel" ,
"brewfather" ,
"buf" ,
2024-06-08 23:46:01 -07:00
"bun" ,
2023-10-28 02:02:17 -07:00
"carbonintensity" ,
2022-05-01 21:10:44 -07:00
"command" ,
2022-09-12 03:55:57 -07:00
"connection" ,
2022-05-01 21:10:44 -07:00
"crystal" ,
"cds" ,
"cf" ,
"cftarget" ,
2022-07-15 01:17:37 -07:00
"cmake" ,
2023-03-05 05:38:56 -08:00
"docker" ,
2020-11-23 10:34:24 -08:00
"dotnet" ,
2022-05-01 21:10:44 -07:00
"dart" ,
2024-03-29 19:55:31 -07:00
"deno" ,
"elixir" ,
2022-05-01 21:10:44 -07:00
"executiontime" ,
2022-06-05 07:32:37 -07:00
"flutter" ,
2022-06-05 07:30:39 -07:00
"fossil" ,
2022-08-17 09:12:18 -07:00
"gcp" ,
2024-04-15 13:57:05 -07:00
"firebase" ,
2024-11-22 10:39:59 -08:00
"fortran" ,
2022-05-01 21:10:44 -07:00
"git" ,
2022-08-26 11:58:48 -07:00
"gitversion" ,
2020-11-23 10:34:24 -08:00
"go" ,
2022-05-01 21:10:44 -07:00
"haskell" ,
2023-09-04 12:00:04 -07:00
"helm" ,
2022-05-01 21:10:44 -07:00
"ipify" ,
2020-11-19 19:12:20 -08:00
"julia" ,
2021-03-27 09:04:09 -07:00
"java" ,
2022-05-01 21:10:44 -07:00
"kotlin" ,
2022-07-18 21:38:38 -07:00
"kubectl" ,
2023-11-06 15:52:37 -08:00
"lastfm" ,
2022-07-18 21:38:38 -07:00
"lua" ,
2023-01-09 16:47:05 -08:00
"mercurial" ,
2024-10-22 06:22:35 -07:00
"mojo" ,
2024-07-23 16:26:05 -07:00
"mvn" ,
2024-03-29 19:55:31 -07:00
"nbgv" ,
"nightscout" ,
2024-07-12 14:04:36 -07:00
"nix-shell" ,
2022-05-01 21:10:44 -07:00
"node" ,
"npm" ,
2022-05-26 05:51:26 -07:00
"nx" ,
2024-01-15 10:48:03 -08:00
"ocaml" ,
2022-05-01 21:10:44 -07:00
"os" ,
"owm" ,
"path" ,
2022-07-08 03:21:08 -07:00
"perl" ,
2022-05-01 21:10:44 -07:00
"python" ,
"php" ,
"plastic" ,
2024-06-16 14:47:06 -07:00
"pnpm" ,
2022-05-01 21:10:44 -07:00
"project" ,
2024-01-28 10:17:12 -08:00
"pulumi" ,
2024-03-29 19:55:31 -07:00
"quasar" ,
2022-05-01 21:10:44 -07:00
"root" ,
"ruby" ,
2021-08-17 23:21:55 -07:00
"rust" ,
2022-05-01 21:10:44 -07:00
"r" ,
2024-01-15 12:04:01 -08:00
"react" ,
2023-02-16 06:18:21 -08:00
"sapling" ,
2022-05-01 21:10:44 -07:00
"session" ,
2023-06-07 22:40:05 -07:00
"sitecore" ,
2022-05-01 21:10:44 -07:00
"spotify" ,
2023-07-23 00:29:54 -07:00
"status" ,
2022-05-01 21:10:44 -07:00
"shell" ,
2021-11-13 14:46:06 -08:00
"sysinfo" ,
2021-12-29 23:57:27 -08:00
"strava" ,
2024-11-22 11:45:08 -08:00
"svelte" ,
2022-06-05 07:33:13 -07:00
"svn" ,
2022-05-01 21:10:44 -07:00
"swift" ,
2024-05-03 22:56:15 -07:00
"talosctl" ,
2024-11-22 11:45:08 -08:00
"tauri" ,
2022-05-01 21:10:44 -07:00
"time" ,
"text" ,
"terraform" ,
"ui5tooling" ,
2023-10-28 00:54:43 -07:00
"umbraco" ,
2023-02-26 06:37:37 -08:00
"unity" ,
2023-05-19 19:11:34 -07:00
"upgrade" ,
2024-03-29 19:55:31 -07:00
"vala" ,
2021-12-11 08:31:58 -08:00
"wakatime" ,
2021-12-11 13:08:47 -08:00
"winreg" ,
2022-07-17 12:11:23 -07:00
"withings" ,
2022-11-05 05:22:05 -07:00
"xmake" ,
2024-06-18 16:10:10 -07:00
"yarn" ,
2024-11-08 04:56:07 -08:00
"ytm" ,
"zig"
2020-11-23 10:34:24 -08:00
]
} ,
"style" : {
"title" : "Segment Style" ,
2022-04-23 08:34:00 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/segment#style" ,
2022-12-28 13:15:30 -08:00
"anyOf" : [
{
2023-01-26 06:56:47 -08:00
"enum" : [
"plain" ,
"powerline" ,
"diamond" ,
"accordion"
]
2022-12-28 13:15:30 -08:00
} ,
{
"type" : "string"
}
]
2022-12-27 12:41:17 -08:00
} ,
2022-05-14 12:18:03 -07:00
"foreground" : {
"$ref" : "#/definitions/color"
} ,
"foreground_templates" : {
2022-07-08 02:47:08 -07:00
"$ref" : "#/definitions/templates" ,
"description" : "https://ohmyposh.dev/docs/configuration/colors#color-templates"
2022-05-14 12:18:03 -07:00
} ,
"background" : {
"$ref" : "#/definitions/color"
} ,
"background_templates" : {
2022-07-08 02:47:08 -07:00
"$ref" : "#/definitions/templates" ,
"description" : "https://ohmyposh.dev/docs/configuration/colors#color-templates"
2020-11-23 10:34:24 -08:00
} ,
2022-03-27 01:12:47 -07:00
"template" : {
"type" : "string" ,
"title" : "Template text" ,
2022-04-23 08:34:00 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/templates" ,
2022-03-27 01:12:47 -07:00
"default" : ""
} ,
2022-07-08 02:47:08 -07:00
"templates_logic" : {
"type" : "string" ,
"title" : "Templates Logic" ,
2024-05-01 09:15:23 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/segment" ,
2023-01-26 06:56:47 -08:00
"enum" : [
"first_match" ,
"join"
]
} ,
2024-05-01 09:06:51 -07:00
"max_width" : {
2023-01-26 06:56:47 -08:00
"type" : "integer" ,
"title" : "if the terminal width exceeds this value, the segment will be hidden" ,
2024-05-01 09:06:51 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/segment" ,
2023-01-26 06:56:47 -08:00
"default" : 0
} ,
2024-05-01 09:06:51 -07:00
"min_width" : {
2023-01-26 06:56:47 -08:00
"type" : "integer" ,
"title" : "if the terminal width is inferior than this value, the segment will be hidden" ,
2024-05-01 09:06:51 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/segment" ,
2023-01-26 06:56:47 -08:00
"default" : 0
} ,
2020-11-23 10:34:24 -08:00
"properties" : {
"type" : "object" ,
"title" : "Segment Properties, used to change behavior/displaying" ,
2022-04-23 08:34:00 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/segment#properties" ,
2024-11-03 02:10:43 -08:00
"default" : { }
2022-05-14 12:18:03 -07:00
} ,
"interactive" : {
"type" : "boolean" ,
"title" : "Allow the use of interactive prompt escape sequences" ,
2024-05-01 09:15:23 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/segment" ,
2022-05-14 12:18:03 -07:00
"default" : false
2022-09-20 11:09:38 -07:00
} ,
"alias" : {
"type" : "string" ,
"title" : "Give the segment an alias for use in templates" ,
2024-05-01 09:15:23 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/segment" ,
2022-09-20 11:09:38 -07:00
"default" : ""
2024-09-30 00:33:45 -07:00
} ,
2024-11-03 02:10:43 -08:00
"include_folders" : {
"type" : "array" ,
"title" : "If specified, segment will only render in these folders" ,
"description" : "https://ohmyposh.dev/docs/configuration/segment#include--exclude-folders" ,
"default" : [ ] ,
"items" : {
"type" : "string"
}
} ,
"exclude_folders" : {
"type" : "array" ,
"title" : "Exclude rendering in these folders" ,
"description" : "https://ohmyposh.dev/docs/configuration/segment#include--exclude-folders" ,
"default" : [ ] ,
"items" : {
"type" : "string"
}
} ,
2024-09-30 00:33:45 -07:00
"cache" : {
"type" : "object" ,
"title" : "Cache settings" ,
2024-11-05 08:07:08 -08:00
"description" : "https://ohmyposh.dev/docs/configuration/segment#cache" ,
2024-09-30 00:33:45 -07:00
"default" : { } ,
"properties" : {
"duration" : {
2024-11-06 18:26:26 -08:00
"$ref" : "#/definitions/cache_duration"
2024-09-30 00:33:45 -07:00
} ,
"strategy" : {
"type" : "string" ,
"title" : "Cache strategy" ,
2024-11-05 08:07:08 -08:00
"description" : "https://ohmyposh.dev/docs/configuration/segment#strategy" ,
2024-09-30 00:33:45 -07:00
"default" : "folder" ,
"enum" : [
"folder" ,
"session"
]
}
}
2020-11-23 10:34:24 -08:00
}
} ,
"allOf" : [
2022-03-11 06:28:25 -08:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "project"
}
2022-03-11 06:28:25 -08:00
}
} ,
"then" : {
"title" : "Project Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/system/project" ,
2024-04-02 12:03:24 -07:00
"properties" : {
"properties" : {
"properties" : {
"always_enabled" : {
"type" : "boolean" ,
"title" : "Always Enabled" ,
"description" : "Always show the segment" ,
"default" : false
}
}
}
}
2022-03-11 06:28:25 -08:00
}
} ,
2022-03-10 09:41:48 -08:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "npm"
}
2022-03-10 09:41:48 -08:00
}
} ,
"then" : {
"title" : "NPM Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cli/npm" ,
2022-05-16 08:15:45 -07:00
"properties" : {
"properties" : {
"properties" : {
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
2024-04-02 12:03:24 -07:00
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if a folder is an NPM workspace" ,
2024-05-19 04:31:19 -07:00
"default" : [
"package.json" ,
"package-lock.json"
] ,
2024-04-02 12:03:24 -07:00
"items" : {
"type" : "string"
}
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2022-05-16 08:15:45 -07:00
}
}
}
}
2022-03-10 09:41:48 -08:00
}
} ,
2020-11-23 10:34:24 -08:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"style" : {
"const" : "powerline"
}
2020-11-23 10:34:24 -08:00
}
} ,
"then" : {
"properties" : {
"powerline_symbol" : {
"type" : "string" ,
"title" : "Powerline Symbol" ,
2022-04-23 08:34:00 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/segment#powerline-symbol" ,
2024-05-23 00:49:47 -07:00
"default" : "\ue0b0"
} ,
"leading_powerline_symbol" : {
"type" : "string" ,
"title" : "Leading Powerline Symbol" ,
"description" : "https://ohmyposh.dev/docs/configuration/segment#powerline-symbol" ,
"default" : "\ue0d7"
2020-11-23 10:34:24 -08:00
} ,
"invert_powerline" : {
"type" : "boolean" ,
"title" : "Flip the Powerline symbol vertically" ,
2022-04-23 08:34:00 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/segment#invert-powerline" ,
2020-11-23 10:34:24 -08:00
"default" : false
}
}
}
} ,
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"style" : {
"const" : "diamond"
}
2020-11-23 10:34:24 -08:00
}
} ,
"then" : {
"properties" : {
"leading_diamond" : {
"type" : "string" ,
"title" : "Leading diamond" ,
2022-04-23 08:34:00 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/segment#leading-diamond" ,
2020-11-23 10:34:24 -08:00
"default" : ""
} ,
"trailing_diamond" : {
"type" : "string" ,
"title" : "Trailing diamond" ,
2022-04-23 08:34:00 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/segment#trailing-diamond" ,
2020-11-23 10:34:24 -08:00
"default" : ""
}
}
}
} ,
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "az"
}
2020-11-23 10:34:24 -08:00
}
} ,
"then" : {
"title" : "Azure Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cloud/az" ,
2022-03-09 04:46:57 -08:00
"properties" : {
2022-04-07 02:54:13 -07:00
"properties" : {
"properties" : {
"source" : {
"type" : "string" ,
"title" : "Source" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cloud/az#properties" ,
2022-04-07 02:54:13 -07:00
"default" : "first_match" ,
2024-05-19 04:31:19 -07:00
"enum" : [
"first_match" ,
"cli" ,
"pwsh"
]
2022-04-07 02:54:13 -07:00
}
}
2022-03-09 04:46:57 -08:00
}
}
2020-11-23 10:34:24 -08:00
}
} ,
2024-06-05 16:15:57 -07:00
{
"if" : {
"properties" : {
"type" : {
"const" : "azd"
}
}
} ,
"then" : {
"title" : "Azure Developer CLI Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cloud/azd"
2024-06-05 16:15:57 -07:00
}
} ,
2020-11-23 10:34:24 -08:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "battery"
}
2020-11-23 10:34:24 -08:00
}
} ,
"then" : {
"title" : "Battery Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/system/battery" ,
2020-11-23 10:34:24 -08:00
"properties" : {
"properties" : {
"properties" : {
"display_error" : {
"type" : "boolean" ,
"title" : "Display Error" ,
"description" : "Show the error context when failing to retrieve the battery information" ,
"default" : false
} ,
"charging_icon" : {
"type" : "string" ,
"title" : "Charging Icon" ,
2022-05-09 22:25:05 -07:00
"description" : "Text/icon to display when charging" ,
2020-11-23 10:34:24 -08:00
"default" : ""
} ,
"discharging_icon" : {
"type" : "string" ,
"title" : "discharging Dcon" ,
2022-05-09 22:25:05 -07:00
"description" : "Text/icon to display when discharging" ,
2020-11-23 10:34:24 -08:00
"default" : ""
} ,
"charged_icon" : {
"type" : "string" ,
"title" : "Charged Icon" ,
2022-05-09 22:25:05 -07:00
"description" : "Text/icon to display when fully charged" ,
"default" : ""
} ,
"not_charging_icon" : {
"type" : "string" ,
"title" : "Not Charging Icon" ,
"description" : "Text/icon to display when on AC power" ,
2020-11-23 10:34:24 -08:00
"default" : ""
2020-12-03 22:01:08 -08:00
}
2020-11-23 10:34:24 -08:00
}
}
}
}
} ,
2023-11-09 01:31:48 -08:00
{
"if" : {
"properties" : {
"type" : {
"const" : "bazel"
}
}
} ,
"then" : {
"title" : "Bazel Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cli/bazel" ,
2023-11-09 01:31:48 -08:00
"properties" : {
"properties" : {
"properties" : {
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
} ,
"icon" : {
"type" : "string" ,
"title" : "Icon" ,
"description" : "The icon representing Bazel's logo" ,
"default" : "\ue63a"
2024-04-02 12:03:24 -07:00
} ,
2024-04-15 13:57:05 -07:00
"extensions" : {
2024-04-02 12:03:24 -07:00
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if a folder is a Bazel workspace" ,
"default" : [
"*.bazel" ,
"*.bzl" ,
"BUILD" ,
"WORKSPACE" ,
".bazelrc" ,
".bazelversion"
] ,
"items" : {
"type" : "string"
}
} ,
"folders" : {
"type" : "array" ,
"title" : "Folders" ,
"description" : "The folders to look for when determining if a folder is a Bazel workspace" ,
2024-05-19 04:31:19 -07:00
"default" : [
"bazel-bin" ,
"bazel-out" ,
"bazel-testlogs"
] ,
2024-04-02 12:03:24 -07:00
"items" : {
"type" : "string"
}
}
}
}
}
}
} ,
{
"if" : {
"properties" : {
"type" : {
"const" : "buf"
}
}
} ,
"then" : {
"title" : "Buf Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cli/buf" ,
2024-04-02 12:03:24 -07:00
"properties" : {
"properties" : {
"properties" : {
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
2024-04-04 14:20:48 -07:00
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
} ,
2024-04-02 12:03:24 -07:00
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if a folder is a Buf workspace" ,
2024-05-19 04:31:19 -07:00
"default" : [
"buf.yaml" ,
"buf.gen.yaml" ,
"buf.work.yaml"
] ,
2024-04-02 12:03:24 -07:00
"items" : {
"type" : "string"
}
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2023-11-09 01:31:48 -08:00
}
}
}
}
}
} ,
2024-06-08 23:46:01 -07:00
{
"if" : {
"properties" : {
"type" : {
"const" : "bun"
}
}
} ,
"then" : {
"title" : "Bun CLI Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cli/bun" ,
2024-06-08 23:46:01 -07:00
"properties" : {
"properties" : {
"properties" : {
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
} ,
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if a folder is a Bun workspace" ,
"default" : [
"bun.lockb"
] ,
"items" : {
"type" : "string"
}
} ,
"folders" : {
"$ref" : "#/definitions/folders"
}
}
}
}
}
} ,
2023-10-28 02:02:17 -07:00
{
"if" : {
"properties" : {
"type" : {
"const" : "carbonintensity"
}
}
} ,
"then" : {
"title" : "Carbon Intensity Segment" ,
"description" : "Displays the actual and forecast carbon intensity in gCO2/kWh using the Carbon Intensity API" ,
"properties" : {
"properties" : {
"properties" : {
"http_timeout" : {
"$ref" : "#/definitions/http_timeout"
}
}
}
}
}
} ,
2020-11-23 10:34:24 -08:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "command"
}
2020-11-23 10:34:24 -08:00
}
} ,
"then" : {
"title" : "Command Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/system/command" ,
2020-11-23 10:34:24 -08:00
"properties" : {
"properties" : {
"properties" : {
"shell" : {
"type" : "string" ,
"title" : "Shell" ,
"description" : "The shell in which to run the command in. Uses shell -c command under the hood" ,
"default" : "bash"
} ,
"command" : {
"type" : "string" ,
"title" : "Command" ,
"description" : "the command(s) to run" ,
2022-07-21 00:51:35 -07:00
"default" : ""
} ,
"script" : {
"type" : "string" ,
"title" : "Script" ,
"description" : "A script to run" ,
"default" : ""
2020-11-23 10:34:24 -08:00
}
}
}
}
}
} ,
2022-09-12 03:55:57 -07:00
{
"if" : {
"properties" : {
"type" : {
"const" : "connection"
}
}
} ,
"then" : {
"title" : "Connection Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/system/connection" ,
2022-09-12 03:55:57 -07:00
"properties" : {
"properties" : {
"properties" : {
"type" : {
"type" : "string" ,
"title" : "Connection type" ,
"description" : "The connection type to display" ,
2024-05-19 04:31:19 -07:00
"enum" : [
"ethernet" ,
"wifi" ,
"cellular" ,
"bluetooth"
] ,
2022-09-12 03:55:57 -07:00
"default" : "wifi|ethernet"
} ,
"unit" : {
"type" : "string" ,
"title" : "Transfer speed unit" ,
"enum" : [
"none" ,
"b" ,
"bps" ,
"K" ,
"Kbps" ,
"M" ,
"Mbps" ,
"G" ,
"Gbps" ,
"T" ,
"Tbps"
] ,
"default" : "none"
}
}
}
}
}
} ,
2022-07-15 01:17:37 -07:00
{
"if" : {
"properties" : {
"type" : {
"const" : "cmake"
}
}
} ,
"then" : {
"title" : "Cmake Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cli/cmake" ,
2022-07-15 01:17:37 -07:00
"properties" : {
"properties" : {
"properties" : {
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
2024-04-02 12:03:24 -07:00
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if a folder is a CMake workspace" ,
2024-05-19 04:31:19 -07:00
"default" : [
"*.cmake" ,
"CMakeLists.txt"
] ,
2024-04-02 12:03:24 -07:00
"items" : {
"type" : "string"
}
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2022-07-15 01:17:37 -07:00
}
}
}
}
}
} ,
2023-03-05 05:38:56 -08:00
{
"if" : {
"properties" : {
"type" : {
"const" : "docker"
}
}
} ,
"then" : {
"title" : "Docker Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cli/docker"
2023-03-05 05:38:56 -08:00
}
} ,
2020-11-23 10:34:24 -08:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "dotnet"
}
2020-11-23 10:34:24 -08:00
}
} ,
"then" : {
"title" : "Dotnet Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/languages/dotnet" ,
2020-11-23 10:34:24 -08:00
"properties" : {
"properties" : {
"properties" : {
2022-05-16 08:15:45 -07:00
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
2021-12-04 04:06:05 -08:00
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
2020-12-27 23:33:58 -08:00
} ,
2024-11-11 01:24:56 -08:00
"cache_duration" : {
"$ref" : "#/definitions/cache_duration" ,
2024-11-17 02:14:46 -08:00
"default" : "none"
2024-11-11 01:24:56 -08:00
} ,
2020-12-27 23:33:58 -08:00
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
2022-05-16 08:15:45 -07:00
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
2024-04-02 12:03:24 -07:00
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if a folder is a .NET workspace" ,
"default" : [
"*.cs" ,
"*.csx" ,
"*.vb" ,
"*.fs" ,
"*.fsx" ,
"*.sln" ,
"*.slnf" ,
"*.csproj" ,
"*.fsproj" ,
"*.vbproj" ,
"global.json"
] ,
"items" : {
"type" : "string"
}
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2020-11-23 10:34:24 -08:00
}
}
}
}
}
} ,
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
2023-07-23 00:29:54 -07:00
"const" : "status"
2022-05-14 12:18:03 -07:00
}
2020-11-23 10:34:24 -08:00
}
} ,
"then" : {
2023-07-23 00:29:54 -07:00
"title" : "Status Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/system/status" ,
2020-11-23 10:34:24 -08:00
"properties" : {
"properties" : {
"properties" : {
"always_enabled" : {
"type" : "boolean" ,
"title" : "Always Enabled" ,
"description" : "Always show the status" ,
"default" : false
2024-04-02 12:03:24 -07:00
} ,
2024-04-04 14:20:48 -07:00
"status_template" : {
2024-05-19 04:31:19 -07:00
"type" : "string" ,
"title" : "Status Template" ,
"description" : "The template to use for the status segment" ,
"default" : "|"
2024-04-04 14:20:48 -07:00
} ,
2024-04-02 12:03:24 -07:00
"status_separator" : {
"type" : "string" ,
"title" : "Status Separator" ,
"description" : "The separator to use between the status segments" ,
"default" : "|"
2020-11-23 10:34:24 -08:00
}
}
}
}
}
} ,
2022-06-05 07:32:37 -07:00
{
"if" : {
"properties" : {
"type" : {
"const" : "flutter"
}
}
} ,
"then" : {
"title" : "Flutter Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cli/flutter" ,
2022-06-05 07:32:37 -07:00
"properties" : {
"properties" : {
"properties" : {
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
2024-04-02 12:03:24 -07:00
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if a folder is a Flutter workspace" ,
"default" : [
"*.dart" ,
"pubspec.yaml" ,
"pubspec.yml" ,
"pubspec.lock"
] ,
"items" : {
"type" : "string"
}
} ,
"folders" : {
"type" : "array" ,
"title" : "Folders" ,
"description" : "The folders to look for when determining if a folder is a Flutter workspace" ,
2024-05-19 04:31:19 -07:00
"default" : [
".dart_tool"
] ,
2024-04-02 12:03:24 -07:00
"items" : {
"type" : "string"
}
2022-06-05 07:32:37 -07:00
}
}
}
}
}
} ,
2024-11-22 10:39:59 -08:00
{
"if" : {
"properties" : {
"type" : {
"const" : "fortran"
}
}
} ,
"then" : {
"title" : "Fortran Segment" ,
"description" : "https://ohmyposh.dev/docs/segments/languages/fortran" ,
"properties" : {
"properties" : {
"properties" : {
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
"cache_duration" : {
"$ref" : "#/definitions/cache_duration" ,
"default" : "none"
} ,
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if a folder is a Fortran workspace" ,
"default" : [
"fpm.toml" ,
"*.f" , "*.for" , "*.fpp" , "*.f77" , "*.f90" , "*.f95" , "*.f03" , "*.f08" ,
"*.F" , "*.FOR" , "*.FPP" , "*.F77" , "*.F90" , "*.F95" , "*.F03" , "*.F08"
] ,
"items" : {
"type" : "string"
}
} ,
"folders" : {
"$ref" : "#/definitions/folders"
}
}
}
}
}
} ,
2022-06-05 07:30:39 -07:00
{
"if" : {
"properties" : {
"type" : {
"const" : "fossil"
}
}
} ,
"then" : {
"title" : "Fossil Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/scm/fossil" ,
2024-04-02 12:03:24 -07:00
"properties" : {
"properties" : {
"properties" : {
"native_fallback" : {
2024-04-04 14:20:48 -07:00
"$ref" : "#/definitions/native_fallback"
2024-04-02 12:03:24 -07:00
}
}
}
}
2022-06-05 07:30:39 -07:00
}
} ,
2020-11-23 10:34:24 -08:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "git"
}
2020-11-23 10:34:24 -08:00
}
} ,
"then" : {
"title" : "Git Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/scm/git" ,
2020-11-23 10:34:24 -08:00
"properties" : {
"properties" : {
"properties" : {
2021-11-08 22:02:27 -08:00
"fetch_status" : {
"type" : "boolean" ,
"title" : "Display Status" ,
"description" : "Display the local changes or not" ,
"default" : true
} ,
"fetch_stash_count" : {
"type" : "boolean" ,
"title" : "Display Stash Count" ,
"description" : "Display the stash count or not" ,
"default" : false
} ,
"fetch_worktree_count" : {
"type" : "boolean" ,
"title" : "Display Worktree Count" ,
"description" : "Display the worktree count or not" ,
"default" : false
} ,
"fetch_upstream_icon" : {
"type" : "boolean" ,
"title" : "Display Upstream Icon" ,
"description" : "Display upstream icon or not" ,
"default" : false
} ,
2022-10-12 11:08:45 -07:00
"fetch_bare_info" : {
"type" : "boolean" ,
"title" : "Fetch info when in a bare repo" ,
"description" : "Fetch info when in a bare repo or not" ,
"default" : false
} ,
2020-11-23 10:34:24 -08:00
"branch_icon" : {
"type" : "string" ,
"title" : "Branch Icon" ,
"description" : "The icon to use in front of the git branch name" ,
"default" : "\uE0A0 "
} ,
"branch_identical_icon" : {
"type" : "string" ,
"title" : "Branch Identical Icon" ,
"description" : "The icon to display when remote and local are identical" ,
2021-04-24 10:47:54 -07:00
"default" : "\u2261"
2020-11-23 10:34:24 -08:00
} ,
"branch_ahead_icon" : {
"type" : "string" ,
"title" : "Branch Ahead Icon" ,
"description" : "The icon to display when the local branch is ahead of its remote" ,
2021-04-24 10:47:54 -07:00
"default" : "\u2191"
2020-11-23 10:34:24 -08:00
} ,
"branch_behind_icon" : {
"type" : "string" ,
"title" : "Branch Behind Icon" ,
"description" : "The icon to display when the local branch is behind its remote" ,
2021-04-24 10:47:54 -07:00
"default" : "\u2193"
2020-11-23 10:34:24 -08:00
} ,
"branch_gone_icon" : {
"type" : "string" ,
"title" : "Branch Gone Icon" ,
"description" : "The icon to display when there's no remote branch" ,
"default" : "\u2262"
} ,
"commit_icon" : {
"type" : "string" ,
"title" : "Commit Icon" ,
"description" : "Icon/text to display before the commit context (detached HEAD)" ,
"default" : "\uF417"
} ,
"tag_icon" : {
"type" : "string" ,
"title" : "Tag Icon" ,
"description" : "Icon/text to display before the tag context" ,
"default" : "\uF412"
} ,
"rebase_icon" : {
"type" : "string" ,
"title" : "Rebase Icon" ,
"description" : "Icon/text to display before the context when in a rebase" ,
"default" : "\uE728"
} ,
"cherry_pick_icon" : {
"type" : "string" ,
"title" : "Cherry-pick Icon" ,
"description" : "Icon/text to display before the context when doing a cherry-pick" ,
"default" : "\uE29B"
} ,
2021-07-29 12:51:09 -07:00
"revert_icon" : {
"type" : "string" ,
"title" : "Revert Icon" ,
"description" : "Icon/text to display before the context when doing a revert" ,
"default" : "\uF0E2"
} ,
2020-11-23 10:34:24 -08:00
"merge_icon" : {
"type" : "string" ,
"title" : "Merge Icon" ,
"description" : "Icon/text to display before the merge context" ,
"default" : "\uE727"
} ,
2021-08-02 11:07:37 -07:00
"no_commits_icon" : {
"type" : "string" ,
"title" : "No Commits Icon" ,
"description" : "Icon/text to display when there are no commits in the repo" ,
"default" : "\uF594"
} ,
2020-11-23 10:34:24 -08:00
"github_icon" : {
"type" : "string" ,
"title" : "Github Icon" ,
"description" : "Icon/text to display when the upstream is Github" ,
"default" : "\uF408"
} ,
"gitlab_icon" : {
"type" : "string" ,
"title" : "Gitlab Icon" ,
"description" : "Icon/text to display when the upstream is Gitlab" ,
"default" : "\uF296"
} ,
"bitbucket_icon" : {
"type" : "string" ,
"title" : "Bitbucket Icon" ,
"description" : "Icon/text to display when the upstream is Bitbucket" ,
"default" : "\uF171"
} ,
2021-05-15 07:47:10 -07:00
"azure_devops_icon" : {
"type" : "string" ,
"title" : "Azure DevOps Icon" ,
"description" : "Icon/text to display when the upstream is Azure DevOps" ,
2023-01-06 21:38:44 -08:00
"default" : "\uEBE8"
2021-05-15 07:47:10 -07:00
} ,
2023-08-30 12:08:54 -07:00
"codecommit_icon" : {
"type" : "string" ,
"title" : "CodeCommit Icon" ,
"description" : "Icon/text to display when the upstream is CodeCommit" ,
"default" : "\uF270"
} ,
2024-06-03 01:15:33 -07:00
"codeberg_icon" : {
"type" : "string" ,
"title" : "Codeberg Icon" ,
"description" : "Icon/text to display when the upstream is Codeberg" ,
"default" : "\uF330"
} ,
2020-11-23 10:34:24 -08:00
"git_icon" : {
"type" : "string" ,
"title" : "Git Icon" ,
"description" : "Icon/text to display when the upstream is not known/mapped" ,
"default" : "\uE5FB"
} ,
2021-08-02 22:58:59 -07:00
"branch_max_length" : {
2021-08-17 23:21:55 -07:00
"type" : "integer" ,
"title" : "Branch max length" ,
"description" : "the max length for the displayed branch name where 0 implies full length" ,
"default" : 0
2022-04-21 23:11:20 -07:00
} ,
"untracked_modes" : {
"type" : "object" ,
"title" : "Untracked files mode" ,
"description" : "Set the untracked files mode for a repository" ,
"default" : { }
2022-06-30 09:01:53 -07:00
} ,
"ignore_submodules" : {
"type" : "object" ,
"title" : "Ignore submodules" ,
"description" : "Ignore changes to submodules when looking for changes" ,
"default" : { }
2023-01-26 06:56:47 -08:00
} ,
"ignore_status" : {
"type" : "array" ,
"title" : "Ignore fetching status in these repo's" ,
"description" : "Ignore fetching status for certain repo's, uses the same logic as the exclude_folders property" ,
"default" : [ ] ,
"items" : {
"type" : "string"
}
2023-06-05 22:58:11 -07:00
} ,
"fetch_user" : {
"type" : "boolean" ,
"title" : "Fetch the user" ,
"description" : "Fetch the current configured user for the repository" ,
"default" : false
2023-06-25 23:44:17 -07:00
} ,
"status_formats" : {
"$ref" : "#/definitions/status_formats"
2024-04-04 14:20:48 -07:00
} ,
"upstream_icons" : {
"type" : "object" ,
"title" : "Status string formats" ,
"description" : "a key, value map representing the remote URL (or a part of that URL) and icon to use in case the upstream URL contains the key. These get precedence over the standard icons" ,
"default" : { }
2024-07-26 14:06:10 -07:00
} ,
"mapped_branches" : {
"$ref" : "#/definitions/mapped_branches"
} ,
"full_branch_path" : {
"$ref" : "#/definitions/full_branch_path"
2024-11-11 04:15:32 -08:00
} ,
"native_fallback" : {
"$ref" : "#/definitions/native_fallback"
2021-08-02 22:58:59 -07:00
}
2020-11-23 10:34:24 -08:00
}
}
}
}
} ,
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "go"
}
2020-11-23 10:34:24 -08:00
}
} ,
"then" : {
"title" : "Golang Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/languages/golang" ,
2020-11-23 10:34:24 -08:00
"properties" : {
"properties" : {
"properties" : {
2022-05-16 08:15:45 -07:00
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
2021-12-04 04:06:05 -08:00
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
2020-12-27 23:33:58 -08:00
} ,
2024-11-11 01:24:56 -08:00
"cache_duration" : {
"$ref" : "#/definitions/cache_duration" ,
2024-11-17 02:14:46 -08:00
"default" : "none"
2024-11-11 01:24:56 -08:00
} ,
2020-12-27 23:33:58 -08:00
"display_mode" : {
2021-05-14 12:26:26 -07:00
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
2022-05-16 08:15:45 -07:00
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
} ,
"parse_mod_file" : {
"type" : "boolean" ,
"title" : "Parse go.mod file" ,
"description" : "Parse go.mod file instead of calling out to go to improve performance." ,
"default" : false
2024-04-02 12:03:24 -07:00
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if a folder is a Go workspace" ,
2024-05-19 04:31:19 -07:00
"default" : [
"*.go" ,
"go.mod"
] ,
2024-04-02 12:03:24 -07:00
"items" : {
"type" : "string"
}
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2021-05-14 12:26:26 -07:00
}
}
}
}
}
} ,
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "dart"
}
2021-05-14 12:26:26 -07:00
}
} ,
"then" : {
"title" : "Dart Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/languages/dart" ,
2021-05-14 12:26:26 -07:00
"properties" : {
"properties" : {
"properties" : {
2022-05-16 08:15:45 -07:00
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
2021-12-04 04:06:05 -08:00
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
2021-05-14 12:26:26 -07:00
} ,
2024-11-11 01:24:56 -08:00
"cache_duration" : {
"$ref" : "#/definitions/cache_duration" ,
2024-11-17 02:14:46 -08:00
"default" : "none"
2024-11-11 01:24:56 -08:00
} ,
2021-05-14 12:26:26 -07:00
"display_mode" : {
2020-12-27 23:33:58 -08:00
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
2022-05-16 08:15:45 -07:00
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
2024-04-02 12:03:24 -07:00
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if a folder is a Dart workspace" ,
"default" : [
"*.dart" ,
"pubspec.yaml" ,
"pubspec.yml" ,
"pubspec.lock"
] ,
"items" : {
"type" : "string"
}
} ,
"folders" : {
"type" : "array" ,
"title" : "Folders" ,
"description" : "The folders to look for when determining if a folder is a Dart workspace" ,
2024-05-19 04:31:19 -07:00
"default" : [
".dart_tool"
] ,
2024-04-02 12:03:24 -07:00
"items" : {
"type" : "string"
}
2020-11-23 10:34:24 -08:00
}
}
}
2021-05-14 04:39:49 -07:00
}
}
} ,
2022-09-18 00:01:52 -07:00
{
"if" : {
"properties" : {
"type" : {
"const" : "deno"
}
}
} ,
"then" : {
"title" : "Deno CLI Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cli/deno" ,
2022-09-18 00:01:52 -07:00
"properties" : {
"properties" : {
"properties" : {
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
2024-04-04 14:20:48 -07:00
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
} ,
2022-09-18 00:01:52 -07:00
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
2024-04-02 12:03:24 -07:00
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if a folder is a Deno workspace" ,
2024-05-19 04:31:19 -07:00
"default" : [
"*.js" ,
"*.ts" ,
"deno.json"
] ,
2024-04-02 12:03:24 -07:00
"items" : {
"type" : "string"
}
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2022-09-18 00:01:52 -07:00
}
}
}
}
}
} ,
2021-05-14 04:39:49 -07:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "crystal"
}
2021-05-14 04:39:49 -07:00
}
} ,
"then" : {
"title" : "Crystal Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/languages/crystal" ,
2021-05-14 04:39:49 -07:00
"properties" : {
"properties" : {
"properties" : {
2022-05-16 08:15:45 -07:00
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
2021-12-04 04:06:05 -08:00
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
2021-05-14 04:39:49 -07:00
} ,
2024-11-11 01:24:56 -08:00
"cache_duration" : {
"$ref" : "#/definitions/cache_duration" ,
2024-11-17 02:14:46 -08:00
"default" : "none"
2024-11-11 01:24:56 -08:00
} ,
2021-05-14 04:39:49 -07:00
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
2022-05-16 08:15:45 -07:00
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
2024-04-02 12:03:24 -07:00
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if a folder is a Crystal workspace" ,
2024-05-19 04:31:19 -07:00
"default" : [
"*.cr" ,
"shard.yml"
] ,
2024-04-02 12:03:24 -07:00
"items" : {
"type" : "string"
}
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2021-05-14 04:39:49 -07:00
}
}
}
2020-11-23 10:34:24 -08:00
}
}
} ,
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "julia"
}
2020-11-23 10:34:24 -08:00
}
} ,
"then" : {
"title" : "Julia Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/languages/julia" ,
2020-11-23 10:34:24 -08:00
"properties" : {
"properties" : {
"properties" : {
2022-05-16 08:15:45 -07:00
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
2021-12-04 04:06:05 -08:00
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
2020-12-27 23:33:58 -08:00
} ,
2024-11-11 01:24:56 -08:00
"cache_duration" : {
"$ref" : "#/definitions/cache_duration" ,
2024-11-17 02:14:46 -08:00
"default" : "none"
2024-11-11 01:24:56 -08:00
} ,
2020-12-27 23:33:58 -08:00
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
2021-03-17 00:16:19 -07:00
"$ref" : "#/definitions/missing_command_text"
2022-05-16 08:15:45 -07:00
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
2024-04-02 12:03:24 -07:00
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if a folder is a Julia workspace" ,
2024-05-19 04:31:19 -07:00
"default" : [
"*.jl"
] ,
2024-04-02 12:03:24 -07:00
"items" : {
"type" : "string"
}
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2021-03-17 00:16:19 -07:00
}
}
}
}
}
} ,
2022-07-08 03:21:08 -07:00
{
"if" : {
"properties" : {
"type" : {
"const" : "perl"
}
}
} ,
"then" : {
"title" : "Perl Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/languages/perl" ,
2022-07-08 03:21:08 -07:00
"properties" : {
"properties" : {
"properties" : {
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
2024-11-11 01:24:56 -08:00
"cache_duration" : {
"$ref" : "#/definitions/cache_duration" ,
2024-11-17 02:14:46 -08:00
"default" : "none"
2024-11-11 01:24:56 -08:00
} ,
2022-07-08 03:21:08 -07:00
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
2024-04-02 12:03:24 -07:00
} ,
2024-04-04 14:20:48 -07:00
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
} ,
2024-04-02 12:03:24 -07:00
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if a folder is a Perl workspace" ,
2024-05-19 04:31:19 -07:00
"default" : [
".perl-version" ,
"*.pl" ,
"*.pm" ,
"*.t"
] ,
2024-04-02 12:03:24 -07:00
"items" : {
"type" : "string"
}
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2022-07-08 03:21:08 -07:00
}
}
}
}
}
} ,
2021-10-27 01:52:56 -07:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "php"
}
2021-10-27 01:52:56 -07:00
}
} ,
"then" : {
"title" : "PHP Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/languages/php" ,
2021-10-27 01:52:56 -07:00
"properties" : {
"properties" : {
"properties" : {
2022-05-16 08:15:45 -07:00
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
2021-12-04 04:06:05 -08:00
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
2021-10-27 01:52:56 -07:00
} ,
2024-11-11 01:24:56 -08:00
"cache_duration" : {
"$ref" : "#/definitions/cache_duration" ,
2024-11-17 02:14:46 -08:00
"default" : "none"
2024-11-11 01:24:56 -08:00
} ,
2021-10-27 01:52:56 -07:00
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
2022-05-16 08:15:45 -07:00
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
2024-04-02 12:03:24 -07:00
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if a folder is a PHP workspace" ,
"default" : [
"*.php" ,
"composer.json" ,
"composer.lock" ,
".php-version"
] ,
"items" : {
"type" : "string"
}
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2021-10-27 01:52:56 -07:00
}
}
}
}
}
} ,
2021-03-17 00:16:19 -07:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "java"
}
2021-03-17 00:16:19 -07:00
}
} ,
"then" : {
2021-10-16 22:49:43 -07:00
"title" : "Java Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/languages/java" ,
2021-03-17 00:16:19 -07:00
"properties" : {
"properties" : {
"properties" : {
2022-05-16 08:15:45 -07:00
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
2021-12-04 04:06:05 -08:00
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
2021-03-17 00:16:19 -07:00
} ,
2024-11-11 01:24:56 -08:00
"cache_duration" : {
"$ref" : "#/definitions/cache_duration" ,
2024-11-17 02:14:46 -08:00
"default" : "none"
2024-11-11 01:24:56 -08:00
} ,
2021-03-17 00:16:19 -07:00
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
2020-12-27 23:33:58 -08:00
"$ref" : "#/definitions/missing_command_text"
2024-04-02 12:03:24 -07:00
} ,
2024-04-04 14:20:48 -07:00
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
} ,
2024-04-02 12:03:24 -07:00
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if a folder is a Java workspace" ,
"default" : [
"pom.xml" ,
"build.gradle.kts" ,
"build.sbt" ,
".java-version" ,
".deps.edn" ,
"project.clj" ,
"build.boot" ,
"*.java" ,
"*.class" ,
"*.gradle" ,
"*.jar" ,
"*.clj" ,
"*.cljc"
]
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2020-11-23 10:34:24 -08:00
}
}
}
}
}
} ,
2020-10-25 08:32:14 -07:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "ruby"
}
2020-10-25 08:32:14 -07:00
}
} ,
"then" : {
"title" : "Ruby Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/languages/ruby" ,
2020-10-25 08:32:14 -07:00
"properties" : {
"properties" : {
"properties" : {
2022-05-16 08:15:45 -07:00
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
2021-12-04 04:06:05 -08:00
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
2020-10-25 08:32:14 -07:00
} ,
2024-11-11 01:24:56 -08:00
"cache_duration" : {
"$ref" : "#/definitions/cache_duration" ,
2024-11-17 02:14:46 -08:00
"default" : "none"
2024-11-11 01:24:56 -08:00
} ,
2020-10-25 08:32:14 -07:00
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
2024-04-02 12:03:24 -07:00
} ,
2024-04-04 14:20:48 -07:00
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
} ,
2024-04-02 12:03:24 -07:00
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if a folder is a Ruby workspace" ,
2024-05-19 04:31:19 -07:00
"default" : [
"*.rb" ,
"Rakefile" ,
"Gemfile"
]
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2020-10-25 08:32:14 -07:00
}
}
}
}
}
} ,
2021-07-04 13:53:10 -07:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "rust"
}
2021-07-04 13:53:10 -07:00
}
} ,
"then" : {
"title" : "Rust Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/languages/rust" ,
2021-07-04 13:53:10 -07:00
"properties" : {
"properties" : {
"properties" : {
2022-05-16 08:15:45 -07:00
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
2021-12-04 04:06:05 -08:00
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
2021-07-04 13:53:10 -07:00
} ,
2024-11-11 01:24:56 -08:00
"cache_duration" : {
"$ref" : "#/definitions/cache_duration" ,
2024-11-17 02:14:46 -08:00
"default" : "none"
2024-11-11 01:24:56 -08:00
} ,
2022-11-05 05:22:05 -07:00
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
2024-04-02 12:03:24 -07:00
} ,
2024-04-04 14:20:48 -07:00
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
} ,
2024-04-02 12:03:24 -07:00
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if a folder is a Rust workspace" ,
2024-05-19 04:31:19 -07:00
"default" : [
"*.rs" ,
"Cargo.toml" ,
"Cargo.lock"
]
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2022-11-05 05:22:05 -07:00
}
}
}
}
}
} ,
{
"if" : {
"properties" : {
"type" : {
"const" : "xmake"
}
}
} ,
"then" : {
"title" : "XMake Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cli/xmake" ,
2022-11-05 05:22:05 -07:00
"properties" : {
"properties" : {
"properties" : {
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
2021-07-04 13:53:10 -07:00
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
2024-04-02 12:03:24 -07:00
} ,
2024-04-04 14:20:48 -07:00
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
} ,
2024-04-02 12:03:24 -07:00
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if a folder is a XMake workspace" ,
2024-05-19 04:31:19 -07:00
"default" : [
"xmake.lua"
] ,
2024-04-02 12:03:24 -07:00
"items" : {
"type" : "string"
}
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2021-07-04 13:53:10 -07:00
}
}
}
}
}
} ,
2020-11-23 10:34:24 -08:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "kubectl"
}
2020-11-23 10:34:24 -08:00
}
} ,
"then" : {
"title" : "Kubectl Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cli/kubectl" ,
2021-02-12 03:49:37 -08:00
"properties" : {
"properties" : {
"properties" : {
2021-02-12 12:39:20 -08:00
"display_error" : {
"type" : "boolean" ,
"title" : "Display Error" ,
"description" : "Show the error context when failing to retrieve the kubectl information" ,
"default" : false
2021-11-21 07:02:51 -08:00
} ,
"parse_kubeconfig" : {
"type" : "boolean" ,
"title" : "Parse kubeconfig" ,
"description" : "Parse kubeconfig files instead of calling out to kubectl to improve performance." ,
2024-09-02 03:33:44 -07:00
"default" : true
2023-07-14 04:51:25 -07:00
} ,
"context_aliases" : {
"type" : "object" ,
"title" : "Context aliases" ,
"description" : "Custom context names." ,
"default" : { }
2021-02-12 03:49:37 -08:00
}
}
}
}
}
} ,
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "aws"
}
2021-02-12 03:49:37 -08:00
}
} ,
"then" : {
"title" : "AWS Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cloud/aws" ,
2021-02-12 03:49:37 -08:00
"properties" : {
"properties" : {
"properties" : {
2021-03-21 07:04:23 -07:00
"display_default" : {
"type" : "boolean" ,
"title" : "Display Default User Profile" ,
"description" : "Display the segment when default user or not" ,
"default" : true
2021-02-12 03:49:37 -08:00
}
}
}
}
2020-11-23 10:34:24 -08:00
}
} ,
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "node"
}
2020-11-23 10:34:24 -08:00
}
} ,
"then" : {
"title" : "Node Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/languages/node" ,
2020-11-23 10:34:24 -08:00
"properties" : {
"properties" : {
"properties" : {
2022-05-16 08:15:45 -07:00
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
2021-12-04 04:06:05 -08:00
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
2021-04-11 11:07:41 -07:00
} ,
2024-11-11 01:24:56 -08:00
"cache_duration" : {
"$ref" : "#/definitions/cache_duration" ,
2024-11-17 02:14:46 -08:00
"default" : "none"
2024-11-11 01:24:56 -08:00
} ,
2021-04-11 11:07:41 -07:00
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
2021-04-17 04:47:28 -07:00
} ,
2022-05-16 08:15:45 -07:00
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
} ,
2021-12-04 04:06:05 -08:00
"fetch_package_manager" : {
2021-04-17 04:47:28 -07:00
"type" : "boolean" ,
2021-12-04 04:06:05 -08:00
"title" : "Fetch Display Package Manager" ,
"description" : "Assigns the Yarn or NPM icon to .PackageManagerIcon" ,
2021-04-17 04:47:28 -07:00
"default" : false
} ,
"yarn_icon" : {
"type" : "string" ,
"title" : "Yarn Icon" ,
"description" : "Icon/text to use for Yarn" ,
2024-04-04 14:20:48 -07:00
"default" : "\uF011B"
2021-04-17 04:47:28 -07:00
} ,
"npm_icon" : {
"type" : "string" ,
"title" : "NPM Icon" ,
"description" : "Icon/text to use for NPM" ,
2024-04-04 14:20:48 -07:00
"default" : "\uE71E"
2024-04-02 12:03:24 -07:00
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if a folder is a Node workspace" ,
"default" : [
"*.js" ,
"*.ts" ,
"package.json" ,
".nvmrc" ,
"pnpm-workspace.yaml" ,
".pnpmfile.cjs" ,
".vue"
] ,
"items" : {
"type" : "string"
}
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2021-04-11 11:07:41 -07:00
}
}
}
}
}
} ,
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "azfunc"
}
2021-04-11 11:07:41 -07:00
}
} ,
"then" : {
"title" : "Azure Function Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cloud/azfunc" ,
2021-04-11 11:07:41 -07:00
"properties" : {
"properties" : {
"properties" : {
2022-05-16 08:15:45 -07:00
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
2021-12-04 04:06:05 -08:00
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
2020-12-27 23:33:58 -08:00
} ,
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
2020-11-23 10:34:24 -08:00
}
}
}
}
}
} ,
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "os"
}
2020-11-23 10:34:24 -08:00
}
} ,
"then" : {
"title" : "Operating System Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/system/os" ,
2020-11-23 10:34:24 -08:00
"properties" : {
"properties" : {
"properties" : {
"macos" : {
"type" : "string" ,
"title" : "MacOS Icon" ,
"description" : "Icon/text to use for macOS" ,
"default" : "\uF179"
} ,
"linux" : {
"type" : "string" ,
"title" : "Linux Icon" ,
"description" : "Icon/text to use for Linux" ,
"default" : "\uF17C"
} ,
"windows" : {
"type" : "string" ,
"title" : "Windows Icon" ,
"description" : "Icon/text to use for Windows" ,
"default" : "\uE62A"
} ,
2021-02-25 21:51:03 -08:00
"display_distro_name" : {
"type" : "boolean" ,
"title" : "Display Distro Name" ,
"description" : "Display the distro name or icon or not" ,
"default" : false
} ,
2020-11-23 10:34:24 -08:00
"alpine" : {
"type" : "string" ,
"title" : "Alpine Icon" ,
"description" : "The icon to use for Alpine" ,
"default" : "\uF300"
} ,
"aosc" : {
"type" : "string" ,
"title" : "Aosc Icon" ,
"description" : "The icon to use for Aosc" ,
"default" : "\uF301"
} ,
"arch" : {
"type" : "string" ,
"title" : "Arch Icon" ,
"description" : "The icon to use for Arch" ,
"default" : "\uF303"
} ,
"centos" : {
"type" : "string" ,
"title" : "Centos Icon" ,
"description" : "The icon to use for Centos" ,
"default" : "\uF303"
} ,
"coreos" : {
"type" : "string" ,
"title" : "Coreos Icon" ,
"description" : "The icon to use for Coreos" ,
"default" : "\uF305"
} ,
"debian" : {
"type" : "string" ,
"title" : "Debian Icon" ,
"description" : "The icon to use for Debian" ,
"default" : "\uF306"
} ,
"devuan" : {
"type" : "string" ,
"title" : "Devuan Icon" ,
"description" : "The icon to use for Devuan" ,
"default" : "\uF307"
} ,
"raspbian" : {
"type" : "string" ,
"title" : "Raspbian Icon" ,
"description" : "The icon to use for Raspbian" ,
"default" : "\uF315"
} ,
"elementary" : {
"type" : "string" ,
"title" : "Elementary Icon" ,
"description" : "The icon to use for Elementary" ,
"default" : "\uF309"
} ,
"fedora" : {
"type" : "string" ,
"title" : "Fedora Icon" ,
"description" : "The icon to use for Fedora" ,
"default" : "\uF30a"
} ,
"gentoo" : {
"type" : "string" ,
"title" : "Gentoo Icon" ,
"description" : "The icon to use for Gentoo" ,
"default" : "\uF30d"
} ,
"mageia" : {
"type" : "string" ,
"title" : "Mageia Icon" ,
"description" : "The icon to use for Mageia" ,
"default" : "\uF310"
} ,
"manjaro" : {
"type" : "string" ,
"title" : "Manjaro Icon" ,
"description" : "The icon to use for Manjaro" ,
"default" : "\uF312"
} ,
"mint" : {
"type" : "string" ,
"title" : "Mint Icon" ,
"description" : "The icon to use for Mint" ,
"default" : "\uF30e"
} ,
"nixos" : {
"type" : "string" ,
"title" : "Nixos Icon" ,
"description" : "The icon to use for Nixos" ,
"default" : "\uF313"
} ,
"opensuse" : {
"type" : "string" ,
"title" : "Opensuse Icon" ,
"description" : "The icon to use for Opensuse" ,
"default" : "\uF314"
} ,
2022-11-22 11:38:30 -08:00
"redhat" : {
"type" : "string" ,
"title" : "Redhat Icon" ,
"description" : "The icon to use for Redhat" ,
"default" : "\uF316"
} ,
2020-11-23 10:34:24 -08:00
"sabayon" : {
"type" : "string" ,
"title" : "Sabayon Icon" ,
"description" : "The icon to use for Sabayon" ,
"default" : "\uF317"
} ,
"slackware" : {
"type" : "string" ,
"title" : "Slackware Icon" ,
"description" : "The icon to use for Slackware" ,
"default" : "\uF319"
} ,
"ubuntu" : {
"type" : "string" ,
"title" : "Ubuntu Icon" ,
"description" : "The icon to use for Ubuntu" ,
"default" : "\uF31b"
2022-11-25 04:30:29 -08:00
} ,
"rocky" : {
"type" : "string" ,
"title" : "Rocky Icon" ,
"description" : "The icon to use for Rocky" ,
"default" : "\uF32B"
} ,
"alma" : {
"type" : "string" ,
"title" : "Alma Icon" ,
"description" : "The icon to use for Alma" ,
"default" : "\uF31D"
2023-07-14 06:39:18 -07:00
} ,
"android" : {
"type" : "string" ,
"title" : "Android Icon" ,
"description" : "The icon to use for Alma" ,
"default" : "\uf17b"
2020-11-23 10:34:24 -08:00
}
}
}
}
}
} ,
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "path"
}
2020-11-23 10:34:24 -08:00
}
} ,
"then" : {
"title" : "Path Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/system/path" ,
2020-11-23 10:34:24 -08:00
"properties" : {
"properties" : {
"properties" : {
"folder_separator_icon" : {
"type" : "string" ,
"title" : "Folder Separator Icon" ,
"description" : "The symbol to use as a separator between folders" ,
"default" : "/"
} ,
2024-04-04 14:20:48 -07:00
"folder_separator_template" : {
"type" : "string" ,
"title" : "Folder Separator Template" ,
"description" : "the path which is split will be separated by this template" ,
"pattern" : ""
} ,
2020-11-23 10:34:24 -08:00
"home_icon" : {
"type" : "string" ,
"title" : "Home Icon" ,
"description" : "The icon to display when at $HOME" ,
2024-04-04 14:20:48 -07:00
"default" : "~"
2020-11-23 10:34:24 -08:00
} ,
"folder_icon" : {
"type" : "string" ,
"title" : "Folder Icon" ,
2022-04-03 04:26:47 -07:00
"description" : "The icon to use as a folder indication" ,
2020-11-23 10:34:24 -08:00
"default" : ".."
} ,
"windows_registry_icon" : {
"type" : "string" ,
"title" : "Windows Registry Icon" ,
"description" : "The icon to display when in the Windows registry" ,
2024-04-04 14:20:48 -07:00
"default" : "\uF013"
2020-11-23 10:34:24 -08:00
} ,
"style" : {
"type" : "string" ,
"title" : "The Path Style" ,
"description" : "How to display the current path" ,
"enum" : [
"agnoster" ,
"agnoster_full" ,
2020-12-17 03:10:01 -08:00
"agnoster_short" ,
2021-12-11 11:37:14 -08:00
"agnoster_left" ,
2020-11-23 10:34:24 -08:00
"short" ,
"full" ,
2021-02-28 00:32:06 -08:00
"folder" ,
2021-07-13 11:15:53 -07:00
"mixed" ,
2022-02-09 01:06:28 -08:00
"letter" ,
2023-03-21 12:40:10 -07:00
"unique" ,
"powerlevel"
2020-11-23 10:34:24 -08:00
] ,
2024-04-04 14:20:48 -07:00
"default" : "agnoster"
2020-11-23 10:34:24 -08:00
} ,
"mapped_locations" : {
2021-06-07 23:31:35 -07:00
"type" : "object" ,
2020-11-23 10:34:24 -08:00
"title" : "Mapped Locations" ,
"description" : "Custom glyph/text for specific paths" ,
2021-06-07 23:31:35 -07:00
"default" : { }
2021-08-20 08:06:37 -07:00
} ,
"max_depth" : {
"type" : "integer" ,
"title" : "Maximum Depth" ,
2022-02-06 21:56:01 -08:00
"description" : "Maximum path depth to display without shortening" ,
2021-08-20 08:06:37 -07:00
"default" : 1
2021-12-17 13:48:41 -08:00
} ,
2024-04-04 14:20:48 -07:00
"max_width" : {
2024-08-31 20:19:29 -07:00
"type" : [
"integer" ,
"string"
] ,
2024-04-04 14:20:48 -07:00
"title" : "Maximum Width" ,
"description" : "Maximum path width to display for powerlevel style" ,
"default" : 0
} ,
2021-12-17 13:48:41 -08:00
"mapped_locations_enabled" : {
"type" : "boolean" ,
"title" : "Enable the Mapped Locations feature" ,
"description" : "Replace known locations in the path with the replacements before applying the style." ,
"default" : true
2022-02-06 21:56:01 -08:00
} ,
2022-03-01 01:01:58 -08:00
"mixed_threshold" : {
2022-02-06 21:56:01 -08:00
"type" : "integer" ,
"title" : "Mixed threshold" ,
"description" : "The maximum length of a path segment that will be displayed when using mixed style." ,
"default" : 4
2022-02-28 21:39:52 -08:00
} ,
"hide_root_location" : {
"type" : "boolean" ,
"title" : "Hide the root location" ,
"description" : "Hides the root location, when using agnoster_short style, if it doesn't fit in the last max_depth folders." ,
"default" : false
2023-04-25 11:35:27 -07:00
} ,
"cycle" : {
"type" : "array" ,
"title" : "Color overrides to use to cycle through and color the path per folder" ,
"items" : {
"type" : "string"
}
} ,
"cycle_folder_separator" : {
"type" : "boolean" ,
"title" : "Cycle the folder_separator_icon" ,
"description" : "Colorize the folder_separator_icon as well when using a cycle." ,
"default" : false
2023-06-13 11:16:13 -07:00
} ,
"folder_format" : {
"type" : "string" ,
"title" : "The folder format" ,
"description" : "Golang string format to apply to the folder name" ,
2024-04-04 14:20:48 -07:00
"pattern" : "%s"
2023-06-13 11:32:03 -07:00
} ,
"edge_format" : {
"type" : "string" ,
"title" : "The format to use on the start and end folder" ,
"description" : "Golang string format to apply to the start and end folder" ,
2024-04-04 14:20:48 -07:00
"pattern" : "%s"
} ,
"left_format" : {
"type" : "string" ,
"title" : "The format to use on first folder of the path" ,
"description" : "Will default to whatever edge_format is set to" ,
"pattern" : "%s"
} ,
"right_format" : {
"type" : "string" ,
"title" : "The format to use on the last folder of the path" ,
"description" : "Will default to whatever edge_format is set to" ,
"pattern" : "%s"
2024-04-02 12:03:24 -07:00
} ,
"gitdir_format" : {
"type" : "string" ,
"title" : "The format to use on a git root directory" ,
"description" : "Golang string format to apply to the .git folder" ,
"default" : ""
2024-06-20 03:12:06 -07:00
} ,
"display_cygpath" : {
"type" : "boolean" ,
"title" : "Display the Cygwin (Linux) style path" ,
"description" : "Display the Cygwin (Linux) style path using cygpath -u $PWD." ,
"default" : false
2022-01-22 10:46:56 -08:00
}
2020-11-23 10:34:24 -08:00
}
}
}
}
} ,
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "python"
}
2020-11-23 10:34:24 -08:00
}
} ,
"then" : {
2021-03-21 07:04:23 -07:00
"title" : "Python Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/languages/python" ,
2020-11-23 10:34:24 -08:00
"properties" : {
"properties" : {
"properties" : {
2022-05-16 08:15:45 -07:00
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
2021-12-04 02:56:55 -08:00
"fetch_virtual_env" : {
2020-11-23 10:34:24 -08:00
"type" : "boolean" ,
2021-12-04 02:56:55 -08:00
"title" : "Fetch Virtual Env" ,
"description" : "Fetch the name of the virtualenv or not" ,
2020-11-23 10:34:24 -08:00
"default" : true
2020-12-21 11:16:33 -08:00
} ,
2022-05-16 08:15:45 -07:00
"display_default" : {
"type" : "boolean" ,
"title" : "Display Default" ,
"description" : "Show the name of the virtualenv when it's default" ,
"default" : true
} ,
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
2024-11-11 01:24:56 -08:00
"cache_duration" : {
"$ref" : "#/definitions/cache_duration" ,
2024-11-17 02:14:46 -08:00
"default" : "none"
2024-11-11 01:24:56 -08:00
} ,
2020-12-21 11:16:33 -08:00
"display_mode" : {
2020-12-27 23:33:58 -08:00
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
2022-05-16 08:15:45 -07:00
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
2024-04-02 12:03:24 -07:00
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if a folder is a Python workspace" ,
"default" : [
"*.py" ,
"*.ipynb" ,
"pyproject.toml" ,
"venv.bak"
] ,
"items" : {
"type" : "string"
}
} ,
"folders" : {
"type" : "array" ,
"title" : "Folders" ,
"description" : "The folders to look for when determining if a folder is a Python workspace" ,
"default" : [
".venv" ,
"venv" ,
"virtualenv" ,
"venv-win" ,
"pyenv-win"
] ,
"items" : {
"type" : "string"
}
2024-10-06 01:19:32 -07:00
} ,
"folder_name_fallback" : {
"type" : "boolean" ,
"title" : "Folder Name Fallback" ,
2024-10-07 20:46:50 -07:00
"description" : "Replace virtual environment names in default_venv_names list with parent folder name" ,
2024-10-06 01:19:32 -07:00
"default" : "true"
} ,
2024-10-07 20:46:50 -07:00
"default_venv_names" : {
2024-10-06 01:19:32 -07:00
"type" : "array" ,
2024-10-07 20:46:50 -07:00
"title" : "Default Venv Names" ,
2024-10-06 01:19:32 -07:00
"description" : "Names to replace when folder_name_fallback is true" ,
"default" : [
".venv" ,
"venv"
] ,
"items" : {
"type" : "string"
}
2020-11-23 10:34:24 -08:00
}
}
}
}
}
} ,
2024-01-28 10:17:12 -08:00
{
"if" : {
"properties" : {
"type" : {
"const" : "pulumi"
}
}
} ,
"then" : {
"title" : "Pulumi Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cloud/pulumi" ,
2024-04-02 12:03:24 -07:00
"properties" : {
"properties" : {
"properties" : {
"fetch_stack" : {
"type" : "boolean" ,
"title" : "Fetch Stack" ,
"description" : "Fetch the current pulumi stack or not" ,
"default" : false
} ,
"fetch_about" : {
"type" : "boolean" ,
"title" : "Fetch About" ,
"description" : "Fetch the URL and user for the current stack" ,
"default" : false
}
}
}
}
2024-01-28 10:17:12 -08:00
}
} ,
2023-07-19 22:57:11 -07:00
{
"if" : {
"properties" : {
"type" : {
"const" : "quasar"
}
}
} ,
"then" : {
"title" : "Quasar Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cli/quasar" ,
2023-07-19 22:57:11 -07:00
"properties" : {
"properties" : {
"properties" : {
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
2024-04-04 14:20:48 -07:00
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
2023-07-19 22:57:11 -07:00
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
} ,
"fetch_dependencies" : {
"type" : "boolean" ,
"title" : "Fetch Dependencies" ,
"description" : "Fetch the vite and @quasar/app-vite dependency information or not" ,
"default" : true
2024-04-02 12:03:24 -07:00
} ,
2024-04-04 14:20:48 -07:00
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if a folder is a Quasar workspace" ,
2024-05-19 04:31:19 -07:00
"default" : [
"quasar.config" ,
"quasar.config.js"
]
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2023-07-19 22:57:11 -07:00
}
}
}
}
}
} ,
2020-11-23 10:34:24 -08:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "root"
}
2020-11-23 10:34:24 -08:00
}
} ,
"then" : {
"title" : "Root Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/system/root"
2020-11-23 10:34:24 -08:00
}
} ,
2023-02-16 06:18:21 -08:00
{
"if" : {
"properties" : {
"type" : {
"const" : "sapling"
}
}
} ,
"then" : {
"title" : "Sapling Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/scm/sapling" ,
2023-02-16 06:18:21 -08:00
"properties" : {
"properties" : {
"properties" : {
"fetch_status" : {
"type" : "boolean" ,
"title" : "Display Status" ,
"description" : "Display the local changes or not" ,
"default" : true
2023-06-25 23:44:17 -07:00
} ,
"status_formats" : {
"$ref" : "#/definitions/status_formats"
2024-04-04 14:20:48 -07:00
} ,
"native_fallback" : {
"$ref" : "#/definitions/native_fallback"
2023-02-16 06:18:21 -08:00
}
}
}
}
}
} ,
2020-11-23 10:34:24 -08:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "session"
}
2020-11-23 10:34:24 -08:00
}
} ,
"then" : {
"title" : "Session Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/system/session" ,
2020-11-23 10:34:24 -08:00
"properties" : {
"properties" : {
"properties" : {
"ssh_icon" : {
"type" : "string" ,
"title" : "SSH Icon" ,
"description" : "Text/icon to display first when in an active SSH session" ,
"default" : "\uF817"
}
}
}
}
}
} ,
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "shell"
}
2020-11-23 10:34:24 -08:00
}
} ,
"then" : {
"title" : "Shell Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/system/shell" ,
2021-09-17 12:48:00 -07:00
"properties" : {
"properties" : {
"properties" : {
"custom_text" : {
"type" : "object" ,
"title" : "Custom Text" ,
"description" : "Custom glyph/text for specific shells" ,
"default" : { }
}
}
}
}
2020-11-23 10:34:24 -08:00
}
} ,
2023-05-03 12:43:20 -07:00
{
"if" : {
"properties" : {
"type" : {
"const" : "sitecore"
}
}
} ,
"then" : {
"title" : "Sitecore Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cloud/sitecore" ,
2023-06-07 22:40:05 -07:00
"properties" : {
"properties" : {
"properties" : {
"display_default" : {
"type" : "boolean" ,
"title" : "Display Default" ,
"description" : "Display the segment or not when the Sitecore environment name matches `default`" ,
"default" : true
}
}
}
}
2023-05-03 12:43:20 -07:00
}
} ,
2020-11-23 10:34:24 -08:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "spotify"
}
2020-11-23 10:34:24 -08:00
}
} ,
"then" : {
"title" : "Spotify Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/music/spotify" ,
2020-11-23 10:34:24 -08:00
"properties" : {
"properties" : {
"properties" : {
"playing_icon" : {
"type" : "string" ,
2024-04-02 12:03:24 -07:00
"title" : "Playing Icon" ,
2020-11-23 10:34:24 -08:00
"description" : "Text/icon to show when playing" ,
"default" : "\uE602"
} ,
"paused_icon" : {
"type" : "string" ,
2024-04-02 12:03:24 -07:00
"title" : "Paused Icon" ,
2020-11-23 10:34:24 -08:00
"description" : "Text/icon to show when paused" ,
"default" : "\uF8E3"
} ,
"stopped_icon" : {
"type" : "string" ,
2024-04-02 12:03:24 -07:00
"title" : "Stopped Icon" ,
2020-11-23 10:34:24 -08:00
"description" : "Text/icon to show when stopped" ,
"default" : "\uF04D"
}
}
}
}
}
} ,
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "terraform"
}
2020-11-23 10:34:24 -08:00
}
} ,
"then" : {
"title" : "Terraform Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cli/terraform" ,
2024-04-02 12:03:24 -07:00
"properties" : {
"properties" : {
"properties" : {
"fetch_version" : {
"type" : "boolean" ,
"title" : "Fetch Version" ,
"description" : "Fetch the version number" ,
"default" : false
}
}
}
}
2020-11-23 10:34:24 -08:00
}
} ,
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "text"
}
2020-11-23 10:34:24 -08:00
}
} ,
"then" : {
"title" : "Text Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/system/text"
2020-11-23 10:34:24 -08:00
}
} ,
2024-05-03 22:56:15 -07:00
{
"if" : {
"properties" : {
"type" : {
"const" : "talosctl"
}
}
} ,
"then" : {
"title" : "Talosctl Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cli/talosctl"
2024-05-03 22:56:15 -07:00
}
} ,
2020-11-23 10:34:24 -08:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "time"
}
2020-11-23 10:34:24 -08:00
}
} ,
"then" : {
"title" : "Time Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/system/time" ,
2020-11-23 10:34:24 -08:00
"properties" : {
"properties" : {
"properties" : {
"time_format" : {
"type" : "string" ,
"title" : "Time Format" ,
"description" : "Format to use, follows the golang standard: https://gobyexample.com/time-formatting-parsing" ,
"default" : "15:04:05"
}
}
}
}
}
2020-11-19 19:12:20 -08:00
} ,
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "ytm"
}
2020-11-19 19:12:20 -08:00
}
} ,
"then" : {
"title" : "YouTube Music Desktop App Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/music/ytm" ,
2020-11-19 19:12:20 -08:00
"properties" : {
"properties" : {
"properties" : {
"playing_icon" : {
"type" : "string" ,
2024-04-02 12:03:24 -07:00
"title" : "Playing Icon" ,
2020-11-19 19:12:20 -08:00
"description" : "Text/icon to show when playing" ,
2024-04-04 14:20:48 -07:00
"default" : "\uE602 "
2020-11-19 19:12:20 -08:00
} ,
"paused_icon" : {
"type" : "string" ,
2024-04-02 12:03:24 -07:00
"title" : "Paused Icon" ,
2020-11-19 19:12:20 -08:00
"description" : "Text/icon to show when paused" ,
2024-04-04 14:20:48 -07:00
"default" : "\uF8E3 "
2020-11-19 19:12:20 -08:00
} ,
"stopped_icon" : {
"type" : "string" ,
2024-04-02 12:03:24 -07:00
"title" : "Stopped Icon" ,
2020-11-19 19:12:20 -08:00
"description" : "Text/icon to show when stopped" ,
2024-04-04 14:20:48 -07:00
"default" : "\uF04D "
2020-11-19 19:12:20 -08:00
} ,
"api_url" : {
"type" : "string" ,
"title" : "API URL" ,
"description" : "The YTMDA Remote Control API URL" ,
2021-04-20 12:35:22 -07:00
"default" : "http://127.0.0.1:9863"
2021-08-17 23:21:55 -07:00
} ,
"http_timeout" : {
"$ref" : "#/definitions/http_timeout"
2020-11-19 19:12:20 -08:00
}
}
}
}
}
2020-12-06 13:03:40 -08:00
} ,
2021-08-15 12:11:02 -07:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "owm"
}
2021-08-15 12:11:02 -07:00
}
} ,
"then" : {
"title" : "Open Weather Map Segment" ,
"description" : "Displays the current weather from the Open Weather Map system" ,
"properties" : {
"properties" : {
"properties" : {
2023-11-09 08:09:19 -08:00
"api_key" : {
2021-08-15 12:11:02 -07:00
"type" : "string" ,
2023-11-09 08:09:19 -08:00
"title" : "API key" ,
"description" : "The API key used for the api call (Required)" ,
2021-08-15 12:11:02 -07:00
"default" : "."
} ,
"location" : {
"type" : "string" ,
"title" : "location" ,
2024-04-29 06:04:14 -07:00
"description" : "Location to use for the API call interpreted only if valid coordinates aren't given. Formatted as <City>,<STATE>,<COUNTRY_CODE>. City name, state code and country code divided by comma. Please, refer to ISO 3166 for the state codes or country codes." ,
2021-08-15 12:11:02 -07:00
"default" : "De Bilt,NL"
} ,
"units" : {
"type" : "string" ,
"title" : "units" ,
"description" : "Units of measurement. Available values are standard (kelvin), metric (celsius), and imperial (fahrenheit). Default is standard" ,
2021-08-20 08:00:35 -07:00
"default" : "standard" ,
2024-05-19 04:31:19 -07:00
"enum" : [
"standard" ,
"metric" ,
"imperial"
]
2021-08-17 23:21:55 -07:00
} ,
"http_timeout" : {
"$ref" : "#/definitions/http_timeout"
2021-08-15 12:11:02 -07:00
}
}
}
}
}
} ,
2023-01-08 23:33:49 -08:00
{
"if" : {
"properties" : {
"type" : {
"const" : "elixir"
}
}
} ,
"then" : {
"title" : "Elixir Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/languages/elixir" ,
2023-01-08 23:33:49 -08:00
"properties" : {
"properties" : {
"properties" : {
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
2024-11-11 01:24:56 -08:00
"cache_duration" : {
"$ref" : "#/definitions/cache_duration" ,
2024-11-17 02:14:46 -08:00
"default" : "none"
2024-11-11 01:24:56 -08:00
} ,
2023-01-08 23:33:49 -08:00
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
2024-04-02 12:03:24 -07:00
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if a folder is a Elixir workspace" ,
2024-05-19 04:31:19 -07:00
"default" : [
"*.ex" ,
"*.exs"
] ,
2024-04-02 12:03:24 -07:00
"items" : {
"type" : "string"
}
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2023-01-08 23:33:49 -08:00
}
}
}
}
}
} ,
2020-12-06 13:03:40 -08:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "executiontime"
}
2020-12-06 13:03:40 -08:00
}
} ,
"then" : {
"title" : "Displays the execution time of the previously executed command" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/system/executiontime" ,
2020-12-06 13:03:40 -08:00
"properties" : {
"properties" : {
"properties" : {
2020-12-12 03:53:06 -08:00
"always_enabled" : {
"type" : "boolean" ,
"title" : "Always Enabled" ,
"description" : "Always show the duration" ,
"default" : false
} ,
2020-12-06 13:03:40 -08:00
"threshold" : {
"type" : "number" ,
"title" : "Threshold" ,
"description" : "minimum duration (milliseconds) required to enable this segment" ,
"default" : 500
2020-12-10 07:02:45 -08:00
} ,
"style" : {
"type" : "string" ,
"title" : "Style" ,
"description" : "The style in which the time will be displayed" ,
"enum" : [
"austin" ,
"roundrock" ,
"dallas" ,
"galveston" ,
2022-07-21 04:38:07 -07:00
"galvestonms" ,
2020-12-10 07:02:45 -08:00
"houston" ,
2021-05-20 23:22:21 -07:00
"amarillo" ,
2023-06-20 02:51:45 -07:00
"round" ,
"lucky7"
2020-12-10 07:02:45 -08:00
] ,
"default" : "austin"
2020-12-06 13:03:40 -08:00
}
}
}
}
}
2021-03-27 09:04:09 -07:00
} ,
2021-09-03 11:54:19 -07:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "sysinfo"
}
2021-09-03 11:54:19 -07:00
}
} ,
"then" : {
2021-11-13 14:46:06 -08:00
"title" : "Get sysinfo" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/system/sysinfo" ,
2021-09-03 11:54:19 -07:00
"properties" : {
"properties" : {
"properties" : {
"precision" : {
"type" : "integer" ,
"title" : "Precision" ,
"description" : "number of decimal places to show" ,
2024-04-02 12:03:24 -07:00
"default" : 2
2021-09-03 11:54:19 -07:00
}
}
}
}
}
2021-10-13 00:05:29 -07:00
} ,
2021-12-29 23:57:27 -08:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "strava"
}
2021-12-29 23:57:27 -08:00
}
} ,
"then" : {
"title" : "Display training data from Strava" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/health/strava" ,
2021-12-29 23:57:27 -08:00
"properties" : {
"properties" : {
"properties" : {
"url" : {
"type" : "string" ,
"title" : "URL of API with Strava data" ,
"description" : "Url of your api provinding a Strava activity" ,
"default" : ""
} ,
"ride_icon" : {
"type" : "string" ,
2024-04-04 14:20:48 -07:00
"title" : "Ride icon" ,
2021-12-29 23:57:27 -08:00
"description" : "Alternative icon for this activity type" ,
2023-05-09 02:08:45 -07:00
"default" : "\uf206"
2021-12-29 23:57:27 -08:00
} ,
"run_icon" : {
"type" : "string" ,
2024-04-04 14:20:48 -07:00
"title" : "Run icon" ,
2021-12-29 23:57:27 -08:00
"description" : "Alternative icon for this activity type" ,
2023-05-09 02:08:45 -07:00
"default" : "\ue213"
2021-12-29 23:57:27 -08:00
} ,
"skiing_icon" : {
"type" : "string" ,
2024-04-04 14:20:48 -07:00
"title" : "Skiing icon" ,
2021-12-29 23:57:27 -08:00
"description" : "Alternative icon for this activity type" ,
"default" : "\ue213"
} ,
"workout_icon" : {
"type" : "string" ,
2024-04-04 14:20:48 -07:00
"title" : "Workout icon" ,
2021-12-29 23:57:27 -08:00
"description" : "Alternative icon for this activity type" ,
"default" : "\ue213"
} ,
"unknown_activity_icon" : {
"type" : "string" ,
"title" : "Fallback icon" ,
"description" : "Fallback icon for other activity types" ,
"default" : "\ue213"
} ,
"http_timeout" : {
"$ref" : "#/definitions/http_timeout"
} ,
2022-07-17 12:11:23 -07:00
"access_token" : {
"$ref" : "#/definitions/access_token"
} ,
"refresh_token" : {
"$ref" : "#/definitions/refresh_token"
} ,
"expires_in" : {
"$ref" : "#/definitions/expires_in"
2021-12-29 23:57:27 -08:00
}
}
}
}
}
} ,
2021-10-13 00:05:29 -07:00
{
"if" : {
2022-06-05 07:33:13 -07:00
"properties" : {
"type" : {
"const" : "svn"
}
}
} ,
"then" : {
"title" : "SVN Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/scm/svn" ,
2022-06-05 07:33:13 -07:00
"properties" : {
"properties" : {
"properties" : {
"fetch_status" : {
"type" : "boolean" ,
"title" : "Display Status" ,
"description" : "Display the local changes or not" ,
"default" : true
2023-06-25 23:44:17 -07:00
} ,
"status_formats" : {
"$ref" : "#/definitions/status_formats"
2024-04-04 14:20:48 -07:00
} ,
"native_fallback" : {
"$ref" : "#/definitions/native_fallback"
2022-06-05 07:33:13 -07:00
}
}
}
}
}
} ,
{
"if" : {
2021-10-13 00:05:29 -07:00
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "angular"
}
2021-10-13 00:05:29 -07:00
}
} ,
"then" : {
"title" : "Angular CLI Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cli/angular" ,
2021-10-13 00:05:29 -07:00
"properties" : {
"properties" : {
"properties" : {
2022-05-16 08:15:45 -07:00
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
2021-12-04 04:06:05 -08:00
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
2021-10-13 00:05:29 -07:00
} ,
2024-04-04 14:20:48 -07:00
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
} ,
2021-10-13 00:05:29 -07:00
"display_mode" : {
"$ref" : "#/definitions/display_mode"
2022-05-16 08:15:45 -07:00
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
2024-04-02 12:03:24 -07:00
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if the current directory is an Angular project" ,
2024-05-19 04:31:19 -07:00
"default" : [
"angular.json"
] ,
2024-04-02 12:03:24 -07:00
"items" : {
"type" : "string"
}
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2021-10-13 00:05:29 -07:00
}
}
}
}
}
2021-11-23 09:31:02 -08:00
} ,
2024-11-05 10:40:31 -08:00
{
"if" : {
"properties" : {
"type" : {
"const" : "aurelia"
}
}
} ,
"then" : {
"title" : "Aurelia Segment" ,
"description" : "https://ohmyposh.dev/docs/segments/cli/aurelia" ,
"properties" : {
"properties" : {
"properties" : {
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
} ,
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if the current directory is an Aurelia project" ,
"default" : [
"package.json"
] ,
"items" : {
"type" : "string"
}
} ,
"folders" : {
"$ref" : "#/definitions/folders"
}
}
}
}
}
} ,
2022-05-26 05:51:26 -07:00
{
"if" : {
"properties" : {
"type" : {
2024-01-15 12:04:01 -08:00
"const" : "react"
}
}
} ,
"then" : {
"title" : "React Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cli/react" ,
2024-01-15 12:04:01 -08:00
"properties" : {
"properties" : {
"properties" : {
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
2024-04-04 14:20:48 -07:00
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
} ,
2024-01-15 12:04:01 -08:00
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
2024-04-02 12:03:24 -07:00
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if the current directory is a React project" ,
2024-05-19 04:31:19 -07:00
"default" : [
"package.json"
] ,
2024-04-02 12:03:24 -07:00
"items" : {
"type" : "string"
}
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2024-01-15 12:04:01 -08:00
}
}
}
}
}
} ,
{
"if" : {
"properties" : {
"type" : {
2022-05-26 05:51:26 -07:00
"const" : "nx"
}
}
} ,
"then" : {
"title" : "Nx Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cli/nx" ,
2022-05-26 05:51:26 -07:00
"properties" : {
"properties" : {
"properties" : {
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
2024-04-04 14:20:48 -07:00
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
} ,
2022-05-26 05:51:26 -07:00
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
2024-04-02 12:03:24 -07:00
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if the current directory is an Nx project" ,
2024-05-19 04:31:19 -07:00
"default" : [
"workspace.json" ,
"nx.json"
] ,
2024-04-02 12:03:24 -07:00
"items" : {
"type" : "string"
}
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2022-05-26 05:51:26 -07:00
}
}
}
}
}
} ,
2024-01-15 10:48:03 -08:00
{
"if" : {
"properties" : {
"type" : {
"const" : "ocaml"
}
}
} ,
"then" : {
"title" : "OCaml Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/languages/ocaml" ,
2024-01-15 10:48:03 -08:00
"properties" : {
"properties" : {
"properties" : {
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
2024-11-11 01:24:56 -08:00
"cache_duration" : {
"$ref" : "#/definitions/cache_duration" ,
2024-11-17 02:14:46 -08:00
"default" : "none"
2024-11-11 01:24:56 -08:00
} ,
2024-01-15 10:48:03 -08:00
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
2024-04-02 12:03:24 -07:00
} ,
2024-04-04 14:20:48 -07:00
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
} ,
2024-04-02 12:03:24 -07:00
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if the current directory is an OCaml project" ,
2024-04-04 14:20:48 -07:00
"default" : [
2024-04-02 12:03:24 -07:00
"*.ml" ,
"*.mli" ,
"dune" ,
"dune-project" ,
"dune-workspace"
] ,
"items" : {
"type" : "string"
}
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2024-01-15 10:48:03 -08:00
}
}
}
}
}
} ,
2021-12-11 08:31:58 -08:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "wakatime"
}
2021-12-11 08:31:58 -08:00
}
} ,
"then" : {
"title" : "Wakatime" ,
"description" : "Displays the tracked time on wakatime.com" ,
"properties" : {
"properties" : {
"properties" : {
"apikey" : {
"type" : "string" ,
"title" : "apikey" ,
"description" : "The apikey used for the api call (Required)" ,
"default" : "."
} ,
"http_timeout" : {
"$ref" : "#/definitions/http_timeout"
}
}
}
}
}
} ,
2021-11-24 04:47:30 -08:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "winreg"
}
2021-11-24 04:47:30 -08:00
}
} ,
"then" : {
"title" : "Windows Registry Query" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/system/winreg" ,
2021-11-24 04:47:30 -08:00
"properties" : {
"properties" : {
"properties" : {
"path" : {
"type" : "string" ,
"title" : "Registry Path" ,
2021-12-04 13:11:25 -08:00
"description" : "The path to the registry key (case insensitive, must use backslashes). Ending with \\ will retrieve \"(Default)\" key in that path." ,
2021-11-24 04:47:30 -08:00
"default" : ""
2021-11-15 13:21:41 -08:00
} ,
2021-11-28 15:34:37 -08:00
"fallback" : {
2022-03-01 01:01:58 -08:00
"type" : "string" ,
"title" : "Fallback value" ,
"description" : "Value to display if registry value cannot be retrieved" ,
"default" : ""
2021-11-24 04:47:30 -08:00
}
}
}
}
}
2021-12-11 13:08:47 -08:00
} ,
2022-07-17 12:11:23 -07:00
{
"if" : {
"properties" : {
"type" : {
"const" : "withings"
}
}
} ,
"then" : {
"title" : "Display activity data from Withings" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/health/withings" ,
2022-07-17 12:11:23 -07:00
"properties" : {
"properties" : {
"properties" : {
"http_timeout" : {
"$ref" : "#/definitions/http_timeout"
} ,
"access_token" : {
"$ref" : "#/definitions/access_token"
} ,
"refresh_token" : {
"$ref" : "#/definitions/refresh_token"
} ,
"expires_in" : {
"$ref" : "#/definitions/expires_in"
}
}
}
}
}
} ,
2021-12-11 13:08:47 -08:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "plastic"
}
2021-12-11 13:08:47 -08:00
}
} ,
"then" : {
"title" : "Plastic SCM Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/scm/plastic" ,
2021-12-11 13:08:47 -08:00
"properties" : {
"properties" : {
"properties" : {
"fetch_status" : {
"type" : "boolean" ,
"title" : "Display Status" ,
"description" : "Display the local changes or not" ,
"default" : false
} ,
2024-04-02 12:03:24 -07:00
"status_formats" : {
"$ref" : "#/definitions/status_formats"
} ,
2021-12-11 13:08:47 -08:00
"branch_icon" : {
"type" : "string" ,
"title" : "Branch Icon" ,
"description" : "The icon to use in front of the selector branch name" ,
"default" : "\uE0A0 "
} ,
"commit_icon" : {
"type" : "string" ,
"title" : "Commit Icon" ,
"description" : "Icon/text to display before the selector changeset" ,
"default" : "\uF417"
} ,
"tag_icon" : {
"type" : "string" ,
"title" : "Tag Icon" ,
"description" : "Icon/text to display before the seletor label" ,
"default" : "\uF412"
} ,
2024-04-02 12:03:24 -07:00
"truncate_symbol" : {
2024-04-04 14:20:48 -07:00
"$ref" : "#/definitions/truncate_symbol"
2024-04-02 12:03:24 -07:00
} ,
2021-12-11 13:08:47 -08:00
"branch_max_length" : {
2024-04-04 14:20:48 -07:00
"$ref" : "#/definitions/branch_max_length"
2021-12-11 13:08:47 -08:00
} ,
"full_branch_path" : {
2024-04-04 14:20:48 -07:00
"$ref" : "#/definitions/full_branch_path"
} ,
"native_fallback" : {
"$ref" : "#/definitions/native_fallback"
2024-07-26 14:06:10 -07:00
} ,
"mapped_branches" : {
"$ref" : "#/definitions/mapped_branches"
2021-12-11 13:08:47 -08:00
}
}
}
}
}
2021-12-14 23:49:32 -08:00
} ,
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "brewfather"
}
2021-12-14 23:49:32 -08:00
}
} ,
"then" : {
"title" : "Brewfather Batch Status" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/web/brewfather" ,
2021-12-14 23:49:32 -08:00
"properties" : {
"properties" : {
"properties" : {
"user_id" : {
"type" : "string" ,
"title" : "Brewfather UserID (required)" ,
"description" : "Provided by Brewfather's Generate API Key settings option" ,
"default" : ""
} ,
"api_key" : {
2022-03-01 01:01:58 -08:00
"type" : "string" ,
"title" : "Brewfather API Key (required)" ,
"description" : "Provided by Brewfather's Generate API Key settings option" ,
"default" : ""
2021-12-14 23:49:32 -08:00
} ,
"batch_id" : {
2022-03-01 01:01:58 -08:00
"type" : "string" ,
"title" : "ID of the batch in Brewfather (required)" ,
"description" : "At the end of the URL when viewing the batch on the Brewfather site" ,
"default" : ""
2021-12-14 23:49:32 -08:00
} ,
"day_icon" : {
2022-03-01 01:01:58 -08:00
"type" : "string" ,
"title" : "Icon to use to indicate days" ,
"description" : "Appended to a number to indicate days, e.g. 25d" ,
"default" : "d"
2021-12-16 01:55:47 -08:00
} ,
"http_timeout" : {
"$ref" : "#/definitions/http_timeout"
} ,
"doubleup_icon" : {
2022-03-01 01:01:58 -08:00
"type" : "string" ,
"title" : "Temperature trend icon, very high positive change" ,
"description" : "Delta between this and prior temperature reading is very high (> 4C by default), available intemplate as .TemperatureTrend" ,
"default" : "↑↑"
2021-12-16 01:55:47 -08:00
} ,
"singleup_icon" : {
2022-03-01 01:01:58 -08:00
"type" : "string" ,
"title" : "Temperature trend icon, high positive change" ,
"description" : "Delta between this and prior temperature reading is high (2C < delta < 4C by default), available intemplate as .TemperatureTrend" ,
"default" : "↑"
2021-12-16 01:55:47 -08:00
} ,
"fortyfiveup_icon" : {
2022-03-01 01:01:58 -08:00
"type" : "string" ,
"title" : "Temperature trend icon, positive change" ,
"description" : "Delta between this and prior temperature reading is positive (0.5C < delta < 2C by default), available intemplate as .TemperatureTrend" ,
"default" : "↗"
2021-12-16 01:55:47 -08:00
} ,
"flat_icon" : {
2022-03-01 01:01:58 -08:00
"type" : "string" ,
"title" : "Temperature trend icon, flat/small change" ,
"description" : "Delta between this and prior temperature and this temperature reading (< +-0.5C change), available intemplate as .TemperatureTrend" ,
"default" : "→"
2021-12-16 01:55:47 -08:00
} ,
"fortyfivedown_icon" : {
2022-03-01 01:01:58 -08:00
"type" : "string" ,
"title" : "Temperature trend icon, v. negative change" ,
"description" : "Delta between this and prior temperature reading is negative (-0.5C > delta > -2C by default), available intemplate as .TemperatureTrend" ,
"default" : "↘"
2021-12-16 01:55:47 -08:00
} ,
"singledown_icon" : {
2022-03-01 01:01:58 -08:00
"type" : "string" ,
"title" : "Temperature trend icon, high negative change" ,
"description" : "Delta between this and prior temperature reading is large negative (-2C > delta > -4C by default), available intemplate as .TemperatureTrend" ,
"default" : "↓"
2021-12-16 01:55:47 -08:00
} ,
"doubledown_icon" : {
2022-03-01 01:01:58 -08:00
"type" : "string" ,
"title" : "Temperature trend icon, very high negative change" ,
"description" : "Delta between this and prior temperature reading is very large negative (> -4C by default), available intemplate as .TemperatureTrend" ,
"default" : "↓↓"
2021-12-16 01:55:47 -08:00
} ,
"planning_status_icon" : {
2022-03-01 01:01:58 -08:00
"type" : "string" ,
"title" : "Icon for batch in planning" ,
"description" : "Available in template as .StatusIcon" ,
"default" : "\uF8EA"
2021-12-16 01:55:47 -08:00
} ,
"brewing_status_icon" : {
2022-03-01 01:01:58 -08:00
"type" : "string" ,
"title" : "Icon for batch being brewed" ,
"description" : "Available in template as .StatusIcon" ,
"default" : "\uF7DE"
2021-12-16 01:55:47 -08:00
} ,
"fermenting_status_icon" : {
2022-03-01 01:01:58 -08:00
"type" : "string" ,
"title" : "Icon for batch fermenting" ,
"description" : "Available in template as .StatusIcon" ,
"default" : "\uF499"
2021-12-16 01:55:47 -08:00
} ,
"conditioning_status_icon" : {
2022-03-01 01:01:58 -08:00
"type" : "string" ,
"title" : "Icon for batch conditioning" ,
"description" : "Available in template as .StatusIcon" ,
"default" : "\uE372"
2021-12-16 01:55:47 -08:00
} ,
"completed_status_icon" : {
2022-03-01 01:01:58 -08:00
"type" : "string" ,
"title" : "Icon for completed batch" ,
"description" : "Available in template as .StatusIcon" ,
"default" : "\uF7A5"
2021-12-16 01:55:47 -08:00
} ,
"archived_status_icon" : {
2022-03-01 01:01:58 -08:00
"type" : "string" ,
"title" : "Icon for archived batch" ,
"description" : "Available in template as .StatusIcon" ,
"default" : "\uF187"
2021-12-14 23:49:32 -08:00
}
}
}
}
}
2021-12-23 05:58:18 -08:00
} ,
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "ipify"
}
2021-12-23 05:58:18 -08:00
}
} ,
"then" : {
"title" : "Display your external IP Address" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/web/ipify" ,
2021-12-23 05:58:18 -08:00
"properties" : {
"properties" : {
"properties" : {
"url" : {
"type" : "string" ,
"title" : "URL" ,
"description" : "The Ipify API URL" ,
"default" : "https://api.ipify.org"
} ,
"http_timeout" : {
"$ref" : "#/definitions/http_timeout"
}
}
}
}
}
2022-02-08 00:11:00 -08:00
} ,
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "haskell"
}
2022-02-08 00:11:00 -08:00
}
} ,
"then" : {
"title" : "Haskell Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/languages/haskell" ,
2022-02-08 00:11:00 -08:00
"properties" : {
"properties" : {
"properties" : {
2022-05-16 08:15:45 -07:00
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
2022-02-08 00:11:00 -08:00
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
2024-11-11 01:24:56 -08:00
"cache_duration" : {
"$ref" : "#/definitions/cache_duration" ,
2024-11-17 02:14:46 -08:00
"default" : "none"
2024-11-11 01:24:56 -08:00
} ,
2022-05-16 08:15:45 -07:00
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
} ,
2022-02-08 00:11:00 -08:00
"stack_ghc_mode" : {
"type" : "string" ,
"title" : "Use Stack GHC" ,
"description" : "Get the GHC version used by Stack. Will decrease performance. Boolean indicating whether stack ghc was used available in template as .StackGhc" ,
2024-05-19 04:31:19 -07:00
"enum" : [
"always" ,
"package" ,
"never"
] ,
2022-02-08 00:11:00 -08:00
"default" : "never"
2024-04-02 12:03:24 -07:00
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if the current directory is a Haskell project" ,
"default" : [
"*.hs" ,
"*.lhs" ,
"stack.yaml" ,
"package.yaml" ,
"*.cabal" ,
"cabal.project"
] ,
"items" : {
"type" : "string"
}
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2022-02-08 00:11:00 -08:00
}
}
}
}
}
2022-02-13 23:41:33 -08:00
} ,
2023-09-04 12:00:04 -07:00
{
"if" : {
"properties" : {
"type" : {
"const" : "helm"
}
}
} ,
"then" : {
"title" : "Helm segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cli/helm" ,
2023-09-04 12:00:04 -07:00
"properties" : {
"properties" : {
"properties" : {
"display_mode" : {
"$ref" : "#/definitions/display_mode"
}
}
}
}
}
} ,
2022-02-13 23:41:33 -08:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "ui5tooling"
}
2022-02-13 23:41:33 -08:00
}
} ,
"then" : {
"title" : "UI5 tooling CLI segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cli/ui5tooling" ,
2022-02-13 23:41:33 -08:00
"properties" : {
"properties" : {
"properties" : {
2022-05-16 08:15:45 -07:00
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
2022-02-13 23:41:33 -08:00
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
2022-02-16 08:23:40 -08:00
} ,
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
2022-05-16 08:15:45 -07:00
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
2024-04-02 12:03:24 -07:00
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if the current directory is a UI5 project" ,
2024-05-19 04:31:19 -07:00
"default" : [
"*ui5*.y*ml"
] ,
2024-04-02 12:03:24 -07:00
"items" : {
"type" : "string"
}
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2022-02-16 08:23:40 -08:00
}
}
}
}
}
} ,
2023-02-26 06:37:37 -08:00
{
"if" : {
"properties" : {
2023-04-25 11:35:27 -07:00
"type" : {
"const" : "unity"
}
2023-02-26 06:37:37 -08:00
}
} ,
"then" : {
"title" : "Unity Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cli/unity" ,
2023-02-26 06:37:37 -08:00
"properties" : {
"properties" : {
"properties" : {
"http_timeout" : {
"$ref" : "#/definitions/http_timeout"
}
}
}
}
}
} ,
2023-05-19 01:26:03 -07:00
{
"if" : {
"properties" : {
"type" : {
"const" : "upgrade"
}
}
} ,
"then" : {
"title" : "Upgrade Segment" ,
2024-11-06 18:26:26 -08:00
"description" : "https://ohmyposh.dev/docs/segments/system/upgrade" ,
"properties" : {
"properties" : {
"properties" : {
"cache_duration" : {
"$ref" : "#/definitions/cache_duration" ,
2024-11-17 02:14:46 -08:00
"default" : "none"
2024-11-06 18:26:26 -08:00
}
}
}
}
2023-05-19 01:26:03 -07:00
}
} ,
2023-01-08 23:44:47 -08:00
{
"if" : {
"properties" : {
"type" : {
"const" : "vala"
}
}
} ,
"then" : {
"title" : "Vala Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/languages/vala" ,
2023-01-08 23:44:47 -08:00
"properties" : {
"properties" : {
"properties" : {
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
2024-11-11 01:24:56 -08:00
"cache_duration" : {
"$ref" : "#/definitions/cache_duration" ,
2024-11-17 02:14:46 -08:00
"default" : "none"
2024-11-11 01:24:56 -08:00
} ,
2023-01-08 23:44:47 -08:00
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
2024-04-02 12:03:24 -07:00
} ,
2024-04-04 14:20:48 -07:00
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
} ,
2024-04-02 12:03:24 -07:00
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if the current directory is a Vala project" ,
2024-05-19 04:31:19 -07:00
"default" : [
"*.vala"
] ,
2024-04-02 12:03:24 -07:00
"items" : {
"type" : "string"
}
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2023-01-08 23:44:47 -08:00
}
}
}
}
}
} ,
2022-02-16 08:23:40 -08:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "cf"
}
2022-02-16 08:23:40 -08:00
}
} ,
"then" : {
"title" : "Clound Foundry CLI segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cloud/cf" ,
2022-02-16 08:23:40 -08:00
"properties" : {
"properties" : {
"properties" : {
2022-05-16 08:15:45 -07:00
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
2022-02-16 08:23:40 -08:00
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
2022-02-13 23:41:33 -08:00
} ,
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
2022-05-16 08:15:45 -07:00
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
2024-04-02 12:03:24 -07:00
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if the current directory is a Cloud Foundry project" ,
2024-05-19 04:31:19 -07:00
"default" : [
"manifest.yml" ,
"mta.yaml"
] ,
2024-04-02 12:03:24 -07:00
"items" : {
"type" : "string"
}
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2022-02-13 23:41:33 -08:00
}
}
}
}
}
2022-02-19 05:45:21 -08:00
} ,
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "cftarget"
}
2022-02-19 05:45:21 -08:00
}
} ,
"then" : {
"title" : "Clound Foundry Target segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cloud/cftarget" ,
2023-03-28 11:15:07 -07:00
"properties" : {
"properties" : {
"properties" : {
"display_mode" : {
2024-04-04 14:20:48 -07:00
"type" : "string" ,
"title" : "Display Mode" ,
"description" : "Determines whether the segment is displayed always or only if a file matching the extensions are present in the current folder" ,
"enum" : [
"always" ,
"files"
] ,
"default" : "always"
2023-03-28 11:15:07 -07:00
}
}
}
}
2022-02-19 05:45:21 -08:00
}
2022-03-01 01:01:58 -08:00
} ,
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "kotlin"
}
2022-03-01 01:01:58 -08:00
}
} ,
"then" : {
"title" : "Kotlin Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/languages/kotlin" ,
2022-03-01 01:01:58 -08:00
"properties" : {
"properties" : {
"properties" : {
2022-05-16 08:15:45 -07:00
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
2022-03-01 01:01:58 -08:00
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
2024-11-11 01:24:56 -08:00
"cache_duration" : {
"$ref" : "#/definitions/cache_duration" ,
2024-11-17 02:14:46 -08:00
"default" : "none"
2024-11-11 01:24:56 -08:00
} ,
2022-03-01 01:01:58 -08:00
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
2022-05-16 08:15:45 -07:00
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
2024-04-02 12:03:24 -07:00
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if the current directory is a Kotlin project" ,
2024-05-19 04:31:19 -07:00
"default" : [
"*.kt" ,
"*.kts" ,
"*.ktm"
] ,
2024-04-02 12:03:24 -07:00
"items" : {
"type" : "string"
}
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2022-03-02 17:38:09 -08:00
}
}
}
}
}
} ,
2023-11-06 15:52:37 -08:00
{
"if" : {
"properties" : {
"type" : {
"const" : "lastfm"
}
}
} ,
"then" : {
"title" : "LastFM Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/music/lastfm" ,
2023-11-06 15:52:37 -08:00
"properties" : {
"properties" : {
"properties" : {
"playing_icon" : {
"type" : "string" ,
"title" : "User Info Separator" ,
"description" : "Text/icon to show when playing" ,
"default" : "\uE602"
} ,
"stopped_icon" : {
"type" : "string" ,
"title" : "SSH Icon" ,
"description" : "Text/icon to show when stopped" ,
"default" : "\uF04D"
} ,
2023-11-09 08:09:19 -08:00
"api_key" : {
2023-11-06 15:52:37 -08:00
"type" : "string" ,
2023-11-09 08:09:19 -08:00
"title" : "API key" ,
"description" : "The API key used for the API call (Required)" ,
2023-11-06 15:52:37 -08:00
"default" : "."
} ,
"username" : {
"type" : "string" ,
"title" : "username" ,
2023-11-09 08:09:19 -08:00
"description" : "The username used for the API call (Required)" ,
2023-11-06 15:52:37 -08:00
"default" : "."
} ,
"http_timeout" : {
"$ref" : "#/definitions/http_timeout"
}
}
}
}
}
} ,
2022-07-18 21:38:38 -07:00
{
"if" : {
"properties" : {
"type" : {
"const" : "lua"
}
}
} ,
"then" : {
"title" : "Lua Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/languages/lua" ,
2022-07-18 21:38:38 -07:00
"properties" : {
"properties" : {
"properties" : {
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
2024-11-11 01:24:56 -08:00
"cache_duration" : {
"$ref" : "#/definitions/cache_duration" ,
2024-11-17 02:14:46 -08:00
"default" : "none"
2024-11-11 01:24:56 -08:00
} ,
2022-07-18 21:38:38 -07:00
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
} ,
"preferred_executable" : {
"type" : "string" ,
"title" : "Preferred Executable" ,
"description" : "The preferred executable to use when fetching the version." ,
2024-05-19 04:31:19 -07:00
"enum" : [
"lua" ,
"luajit"
] ,
2022-07-18 21:38:38 -07:00
"default" : "lua"
2024-04-02 12:03:24 -07:00
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if the current directory is a Lua project" ,
2024-05-19 04:31:19 -07:00
"default" : [
"*.lua" ,
"*.rockspec"
] ,
2024-04-02 12:03:24 -07:00
"items" : {
"type" : "string"
}
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2022-07-18 21:38:38 -07:00
}
}
}
}
}
} ,
2022-03-02 17:38:09 -08:00
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "swift"
}
2022-03-02 17:38:09 -08:00
}
} ,
"then" : {
"title" : "Swift Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/languages/swift" ,
2022-03-02 17:38:09 -08:00
"properties" : {
"properties" : {
"properties" : {
2022-05-16 08:15:45 -07:00
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
2022-03-02 17:38:09 -08:00
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
2024-11-11 01:24:56 -08:00
"cache_duration" : {
"$ref" : "#/definitions/cache_duration" ,
2024-11-17 02:14:46 -08:00
"default" : "none"
2024-11-11 01:24:56 -08:00
} ,
2022-03-02 17:38:09 -08:00
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
2022-05-16 08:15:45 -07:00
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
2024-04-02 12:03:24 -07:00
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if the current directory is a Swift project" ,
2024-05-19 04:31:19 -07:00
"default" : [
"*.swift" ,
"*.SWIFT"
] ,
2024-04-02 12:03:24 -07:00
"items" : {
"type" : "string"
}
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2022-03-06 13:52:12 -08:00
}
}
}
}
}
} ,
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "cds"
}
2022-03-06 13:52:12 -08:00
}
} ,
"then" : {
"title" : "CDS (SAP CAP) segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cloud/cds" ,
2022-03-06 13:52:12 -08:00
"properties" : {
"properties" : {
"properties" : {
2022-05-16 08:15:45 -07:00
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
2022-03-06 13:52:12 -08:00
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
2024-04-02 12:03:24 -07:00
} ,
2024-04-04 14:20:48 -07:00
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
} ,
2024-04-02 12:03:24 -07:00
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if the current directory is a CDS project" ,
2024-05-19 04:31:19 -07:00
"default" : [
".cdsrc.json" ,
".cdsrc-private.json" ,
"*.cds"
] ,
2024-04-02 12:03:24 -07:00
"items" : {
"type" : "string"
}
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2022-03-01 01:01:58 -08:00
}
}
}
}
}
2022-03-19 01:06:06 -07:00
} ,
{
"if" : {
"properties" : {
2022-05-14 12:18:03 -07:00
"type" : {
"const" : "r"
}
2022-03-19 01:06:06 -07:00
}
} ,
"then" : {
"title" : "R Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/languages/r" ,
2022-03-19 01:06:06 -07:00
"properties" : {
"properties" : {
"properties" : {
2022-05-16 08:15:45 -07:00
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
2022-03-19 01:06:06 -07:00
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
2024-11-11 01:24:56 -08:00
"cache_duration" : {
"$ref" : "#/definitions/cache_duration" ,
2024-11-17 02:14:46 -08:00
"default" : "none"
2024-11-11 01:24:56 -08:00
} ,
2022-03-19 01:06:06 -07:00
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
2022-05-16 08:15:45 -07:00
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
2024-04-02 12:03:24 -07:00
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if the current directory is an R project" ,
2024-04-04 14:20:48 -07:00
"default" : [
2024-04-02 12:03:24 -07:00
"*.R" ,
"*.Rmd" ,
"*.Rsx" ,
"*.Rda" ,
"*.Rd" ,
"*.Rproj" ,
".Rproj.user"
] ,
"items" : {
"type" : "string"
}
2024-04-04 14:20:48 -07:00
} ,
"folders" : {
"$ref" : "#/definitions/folders"
2022-03-19 01:06:06 -07:00
}
}
}
}
}
2022-08-17 09:12:18 -07:00
} ,
{
"if" : {
"properties" : {
"type" : {
"const" : "gcp"
}
}
} ,
"then" : {
"title" : "GCP Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cloud/gcp"
2022-08-17 09:12:18 -07:00
}
2022-08-26 11:58:48 -07:00
} ,
2024-04-15 13:57:05 -07:00
{
"if" : {
"properties" : {
"type" : {
"const" : "firebase"
}
}
} ,
"then" : {
"title" : "Firebase Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cli/firebase"
2024-04-15 13:57:05 -07:00
}
} ,
2022-08-26 11:58:48 -07:00
{
"if" : {
"properties" : {
2023-01-26 06:56:47 -08:00
"type" : {
"const" : "gitversion"
}
2022-08-26 11:58:48 -07:00
}
} ,
"then" : {
"title" : "Display GitVersion segment" ,
2024-09-30 05:10:06 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cli/gitversion"
2022-08-26 11:58:48 -07:00
}
2023-01-09 16:47:05 -08:00
} ,
{
"if" : {
"properties" : {
2023-01-26 06:56:47 -08:00
"type" : {
"const" : "mercurial"
}
2023-01-09 16:47:05 -08:00
}
} ,
"then" : {
"title" : "Mercurial Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/scm/mercurial" ,
2023-01-09 16:47:05 -08:00
"properties" : {
"properties" : {
"properties" : {
"fetch_status" : {
"type" : "boolean" ,
"title" : "Display Status" ,
"description" : "Display the local changes or not" ,
2024-04-04 14:20:48 -07:00
"default" : false
2023-06-25 23:44:17 -07:00
} ,
"status_formats" : {
"$ref" : "#/definitions/status_formats"
2024-11-10 19:44:54 -08:00
} ,
"native_fallback" : {
"$ref" : "#/definitions/native_fallback"
2023-01-09 16:47:05 -08:00
}
}
}
}
2024-10-22 06:22:35 -07:00
}
} ,
{
"if" : {
"properties" : {
"type" : {
"const" : "mojo"
}
}
} ,
"then" : {
"title" : "Mojo Segment" ,
"description" : "https://ohmyposh.dev/docs/segments/languages/mojo" ,
"properties" : {
"properties" : {
"properties" : {
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
"fetch_virtual_env" : {
"type" : "boolean" ,
"title" : "Fetch Virtual Env" ,
"description" : "Fetch the name of the virtualenv or not" ,
"default" : true
} ,
"display_default" : {
"type" : "boolean" ,
"title" : "Display Default" ,
"description" : "Show the name of the virtualenv when it's default" ,
"default" : true
} ,
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
2024-11-11 01:24:56 -08:00
"cache_duration" : {
"$ref" : "#/definitions/cache_duration" ,
2024-11-17 02:14:46 -08:00
"default" : "none"
2024-11-11 01:24:56 -08:00
} ,
2024-10-22 06:22:35 -07:00
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if a folder is a Mojo workspace" ,
"default" : [
"*.🔥" ,
"*.mojo" ,
"mojoproject.toml"
] ,
"items" : {
"type" : "string"
}
} ,
"folders" : {
"$ref" : "#/definitions/folders"
}
}
}
}
2023-01-09 16:47:05 -08:00
}
2023-10-28 00:54:43 -07:00
} ,
2024-04-02 12:03:24 -07:00
{
"if" : {
"properties" : {
"type" : {
"const" : "nightscout"
}
}
} ,
"then" : {
"title" : "Display Nightscout segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/health/nightscout" ,
2024-04-02 12:03:24 -07:00
"properties" : {
"properties" : {
"properties" : {
"url" : {
"type" : "string" ,
"title" : "URL" ,
"description" : "The URL to the Nightscout API" ,
2024-04-04 14:20:48 -07:00
"default" : ""
2024-04-02 12:03:24 -07:00
} ,
"http_timeout" : {
"type" : "integer" ,
"title" : "Http request timeout" ,
"description" : "Milliseconds to use for http request timeouts" ,
"default" : 500
2024-04-19 14:09:00 -07:00
} ,
"headers" : {
"type" : "object" ,
"title" : "Headers" ,
"description" : "A key, value map of Headers to send with the request" ,
"default" : { }
2024-04-02 12:03:24 -07:00
}
}
}
}
}
} ,
2023-10-28 00:54:43 -07:00
{
"if" : {
"properties" : {
2024-05-19 04:31:19 -07:00
"type" : {
"const" : "umbraco"
}
2023-10-28 00:54:43 -07:00
}
} ,
"then" : {
2024-07-12 14:04:36 -07:00
"title" : "Umbraco Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cli/umbraco"
2023-10-28 00:54:43 -07:00
}
2024-06-16 14:47:06 -07:00
} ,
{
"if" : {
"properties" : {
"type" : {
"const" : "pnpm"
}
}
} ,
"then" : {
"title" : "PNPM Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cli/pnpm" ,
2024-06-16 14:47:06 -07:00
"properties" : {
"properties" : {
"properties" : {
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if a folder is an PNPM workspace" ,
2024-08-31 20:19:29 -07:00
"default" : [
"package.json" ,
"pnpm-lock.yaml"
] ,
2024-06-16 14:47:06 -07:00
"items" : {
"type" : "string"
}
} ,
"folders" : {
"$ref" : "#/definitions/folders"
}
}
}
}
}
2024-06-18 16:10:10 -07:00
} ,
{
"if" : {
"properties" : {
"type" : {
"const" : "yarn"
}
}
} ,
"then" : {
"title" : "Yarn Segment" ,
2024-07-31 22:43:17 -07:00
"description" : "https://ohmyposh.dev/docs/segments/cli/yarn" ,
2024-06-18 16:10:10 -07:00
"properties" : {
"properties" : {
"properties" : {
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if a folder is an Yarn workspace" ,
2024-08-31 20:19:29 -07:00
"default" : [
"package.json" ,
"yarn.lock"
] ,
2024-06-18 16:10:10 -07:00
"items" : {
"type" : "string"
}
} ,
"folders" : {
"$ref" : "#/definitions/folders"
}
}
}
}
}
2024-07-12 14:04:36 -07:00
} ,
{
"if" : {
"properties" : {
"type" : {
"const" : "nix-shell"
}
}
} ,
"then" : {
"title" : "Nix Shell" ,
"description" : "https://ohmyposh.dev/docs/segments/cli/nix-shell"
}
2024-11-05 18:54:24 -08:00
} ,
{
"if" : {
"properties" : {
"type" : {
"const" : "zig"
}
}
} ,
"then" : {
"title" : "Zig Segment" ,
"description" : "https://ohmyposh.dev/docs/segments/languages/zig" ,
"properties" : {
"properties" : {
"properties" : {
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
2024-11-11 01:24:56 -08:00
"cache_duration" : {
"$ref" : "#/definitions/cache_duration" ,
2024-11-17 02:14:46 -08:00
"default" : "none"
2024-11-11 01:24:56 -08:00
} ,
2024-11-05 18:54:24 -08:00
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if the current directory is an zig project" ,
"default" : [
"*.zig" ,
"*.zon"
] ,
"items" : {
2024-11-22 11:45:08 -08:00
"type" : "string"
}
} ,
"folders" : {
"$ref" : "#/definitions/folders"
}
}
}
}
}
} ,
{
"if" : {
"properties" : {
"type" : {
"const" : "tauri"
}
}
} ,
"then" : {
"title" : "Tauri Segment" ,
"description" : "https://ohmyposh.dev/docs/segments/cli/tauri" ,
"properties" : {
"properties" : {
"properties" : {
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
"cache_duration" : {
"$ref" : "#/definitions/cache_duration" ,
"default" : "none"
} ,
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if the current directory is a Tauri project" ,
"default" : [
"package.json"
] ,
"items" : {
"type" : "string"
}
} ,
"folders" : {
"$ref" : "#/definitions/folders"
}
}
}
}
}
} ,
{
"if" : {
"properties" : {
"type" : {
"const" : "svelte"
}
}
} ,
"then" : {
"title" : "Svelte Segment" ,
"description" : "https://ohmyposh.dev/docs/segments/cli/svelte" ,
"properties" : {
"properties" : {
"properties" : {
"home_enabled" : {
"$ref" : "#/definitions/home_enabled"
} ,
"fetch_version" : {
"$ref" : "#/definitions/fetch_version"
} ,
"cache_duration" : {
"$ref" : "#/definitions/cache_duration" ,
"default" : "none"
} ,
"display_mode" : {
"$ref" : "#/definitions/display_mode"
} ,
"missing_command_text" : {
"$ref" : "#/definitions/missing_command_text"
} ,
"version_url_template" : {
"$ref" : "#/definitions/version_url_template"
} ,
"extensions" : {
"type" : "array" ,
"title" : "Extensions" ,
"description" : "The extensions to look for when determining if the current directory is a Svelte project" ,
"default" : [
"package.json"
] ,
"items" : {
2024-11-05 18:54:24 -08:00
"type" : "string"
}
} ,
"folders" : {
"$ref" : "#/definitions/folders"
}
}
}
}
}
2020-11-23 10:34:24 -08:00
}
]
}
} ,
2023-01-26 06:56:47 -08:00
"required" : [
"blocks"
] ,
2020-11-23 10:34:24 -08:00
"properties" : {
"final_space" : {
"type" : "boolean" ,
2020-12-27 02:56:33 -08:00
"title" : "Final Space" ,
2023-10-15 22:31:32 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/general#general-settings" ,
2020-11-23 10:34:24 -08:00
"default" : true
} ,
2024-07-06 11:47:47 -07:00
"enable_cursor_positioning" : {
2023-07-24 10:07:16 -07:00
"type" : "boolean" ,
2024-07-06 11:47:47 -07:00
"title" : "Enable Cursor Positioning" ,
2023-10-15 22:31:32 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/general#general-settings" ,
2023-07-24 10:07:16 -07:00
"default" : false
} ,
2023-05-17 14:27:21 -07:00
"shell_integration" : {
"type" : "boolean" ,
"title" : "FTCS command marks for shell integration" ,
"default" : false
} ,
2022-07-13 04:53:55 -07:00
"pwd" : {
"type" : "string" ,
2022-11-24 14:45:44 -08:00
"title" : "Enable OSC99/7/51" ,
2023-10-15 22:31:32 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/general#general-settings" ,
2022-07-13 04:53:55 -07:00
"default" : ""
2021-02-15 13:19:19 -08:00
} ,
2024-09-15 23:43:29 -07:00
"upgrade_notice" : {
2024-05-06 11:35:44 -07:00
"type" : "boolean" ,
2024-09-15 23:43:29 -07:00
"title" : "Enable Upgrade Notice" ,
2024-07-18 03:04:15 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/general#general-settings" ,
2024-05-06 11:35:44 -07:00
"default" : false
} ,
2024-06-18 20:55:33 -07:00
"auto_upgrade" : {
"type" : "boolean" ,
"title" : "Enable automatic upgrades for Oh My Posh (supports Windows/macOS only)" ,
2024-07-18 03:04:15 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/general#general-settings" ,
2024-06-18 20:55:33 -07:00
"default" : false
} ,
2024-05-06 11:35:44 -07:00
"patch_pwsh_bleed" : {
"type" : "boolean" ,
"title" : "Patch PowerShell Color Bleed" ,
2024-07-18 03:04:15 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/general#general-settings" ,
2024-05-06 11:35:44 -07:00
"default" : false
} ,
2020-12-27 02:56:33 -08:00
"console_title_template" : {
"type" : "string" ,
"title" : "Console Title Template" ,
2022-04-23 08:34:00 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/title#console-title-template" ,
2020-12-27 02:56:33 -08:00
"default" : "{{ .Shell }} in {{ .Folder }}"
} ,
2022-05-14 12:18:03 -07:00
"terminal_background" : {
"$ref" : "#/definitions/color"
} ,
2020-11-23 10:34:24 -08:00
"blocks" : {
"type" : "array" ,
"title" : "Block array" ,
"default" : [ ] ,
2023-10-15 22:31:32 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/general#blocks" ,
2022-05-14 12:18:03 -07:00
"items" : {
"$ref" : "#/definitions/block"
}
2021-06-13 10:41:56 -07:00
} ,
"tooltips" : {
"type" : "array" ,
"title" : "Tooltip list, prompt elements to display based on context" ,
2022-04-23 08:34:00 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/tooltips" ,
2021-06-13 10:41:56 -07:00
"default" : [ ] ,
"items" : {
2022-05-14 12:18:03 -07:00
"allOf" : [
{
"$ref" : "#/definitions/segment"
}
] ,
2021-06-13 10:41:56 -07:00
"properties" : {
"tips" : {
"type" : "array" ,
"title" : "The commands for which you want the segment to show" ,
"items" : {
"type" : "string"
}
}
} ,
2023-01-26 06:56:47 -08:00
"required" : [
"tips"
]
2021-06-13 10:41:56 -07:00
}
2021-06-15 12:23:08 -07:00
} ,
"transient_prompt" : {
2022-02-19 07:49:26 -08:00
"$ref" : "#/definitions/extra_prompt" ,
"title" : "Transient Prompt Setting" ,
2023-04-15 08:53:18 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/transient" ,
2024-11-07 05:54:43 -08:00
"anyOf" : [
{
"properties" : {
"filler" : {
"$ref" : "#/definitions/filler"
} ,
"newline" : {
"type" : "boolean" ,
"title" : "Newline" ,
"description" : "Add a newline before the prompt" ,
"default" : false
}
}
2023-04-15 08:53:18 -07:00
}
2024-11-07 05:54:43 -08:00
]
2022-02-19 07:49:26 -08:00
} ,
"valid_line" : {
"$ref" : "#/definitions/extra_prompt" ,
2022-07-10 05:48:34 -07:00
"title" : "Valid Line Setting (for PowerShell only)" ,
"description" : "https://ohmyposh.dev/docs/configuration/line-error"
2022-02-19 07:49:26 -08:00
} ,
"error_line" : {
"$ref" : "#/definitions/extra_prompt" ,
2022-07-10 05:48:34 -07:00
"title" : "Error Line Setting (for PowerShell only)" ,
"description" : "https://ohmyposh.dev/docs/configuration/line-error"
2021-11-22 06:25:56 -08:00
} ,
2022-02-20 04:56:28 -08:00
"secondary_prompt" : {
"$ref" : "#/definitions/extra_prompt" ,
"title" : "Secondary Prompt Setting" ,
2022-04-23 08:34:00 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/secondary-prompt"
2022-02-20 04:56:28 -08:00
} ,
2022-07-10 05:48:34 -07:00
"debug_prompt" : {
"$ref" : "#/definitions/extra_prompt" ,
"title" : "Debug Prompt Setting (for PowerShell only)" ,
"description" : "https://ohmyposh.dev/docs/configuration/debug-prompt"
} ,
2021-11-22 06:25:56 -08:00
"palette" : {
"type" : "object" ,
"title" : "Palette" ,
2022-04-23 08:34:00 -07:00
"description" : "https://ohmyposh.dev/docs/configuration/colors#palette" ,
2021-11-22 06:25:56 -08:00
"default" : { } ,
"patternProperties" : {
2022-05-14 12:18:03 -07:00
".*" : {
"$ref" : "#/definitions/color"
}
2021-11-22 06:25:56 -08:00
}
2022-05-22 00:11:16 -07:00
} ,
2022-10-13 11:01:51 -07:00
"palettes" : {
"type" : "object" ,
"title" : "Palettes" ,
"description" : "https://ohmyposh.dev/docs/configuration/colors#palettes" ,
"default" : { } ,
"properties" : {
"template" : {
"type" : "string" ,
"title" : "Prompt Template"
} ,
"list" : {
"type" : "object" ,
"title" : "List of palettes" ,
"patternProperties" : {
".*" : {
2022-10-15 15:08:26 -07:00
"$ref" : "#/properties/palette"
2022-10-13 11:01:51 -07:00
}
}
}
}
} ,
2023-01-09 11:10:55 -08:00
"cycle" : {
"type" : "array" ,
"title" : "List of settings to cycle through segment by segment" ,
"description" : "https://ohmyposh.dev/docs/configuration/cycle" ,
"default" : [ ] ,
"items" : {
"properties" : {
"foreground" : {
"$ref" : "#/definitions/color"
} ,
"background" : {
"$ref" : "#/definitions/color"
}
}
}
} ,
2022-05-22 00:11:16 -07:00
"accent_color" : {
"title" : "Accent color" ,
"$ref" : "#/definitions/color"
2024-05-19 04:31:19 -07:00
} ,
"iterm_features" : {
"type" : "array" ,
"title" : "The iTerm2 features to enable" ,
"items" : {
"type" : "string" ,
"enum" : [
"prompt_mark" ,
"current_dir" ,
"remote_host"
]
}
2024-08-31 20:19:29 -07:00
} ,
"var" : {
"type" : "object" ,
"title" : "Config variables to use in templates (can be any value)" ,
"description" : "https://ohmyposh.dev/docs/configuration/templates#config-variables" ,
"default" : { }
2020-11-23 10:34:24 -08:00
}
}
2021-08-17 23:21:55 -07:00
}