Skip to content

Instantly share code, notes, and snippets.

@emigdio821
Last active December 15, 2021 21:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emigdio821/5966607fb285fcb7a4d3f65814c09ddc to your computer and use it in GitHub Desktop.
Save emigdio821/5966607fb285fcb7a4d3f65814c09ddc to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-12-15T21:51:36.063Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "d3836729-9cc1-42c1-b2af-d50071f57d29",
"publisherId": "formulahendry.auto-close-tag",
"publisherDisplayName": "formulahendry"
},
"name": "auto-close-tag",
"publisher": "formulahendry",
"version": "0.5.13"
},
{
"metadata": {
"id": "6e440e71-8ed9-4f25-bb78-4b13096b8a03",
"publisherId": "formulahendry.auto-rename-tag",
"publisherDisplayName": "formulahendry"
},
"name": "auto-rename-tag",
"publisher": "formulahendry",
"version": "0.1.9"
},
{
"metadata": {
"id": "5a6e2b21-1d61-4acd-b31b-907f9c23f18a",
"publisherId": "CoenraadS.bracket-pair-colorizer-2",
"publisherDisplayName": "CoenraadS"
},
"name": "bracket-pair-colorizer-2",
"publisher": "CoenraadS",
"version": "0.2.2"
},
{
"metadata": {
"id": "a6a0c5b2-d078-4bf5-a9ee-4e37054414b3",
"publisherId": "formulahendry.code-runner",
"publisherDisplayName": "formulahendry"
},
"name": "code-runner",
"publisher": "formulahendry",
"version": "0.11.6"
},
{
"metadata": {
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd",
"publisherId": "Shan.code-settings-sync",
"publisherDisplayName": "Shan"
},
"name": "code-settings-sync",
"publisher": "Shan",
"version": "3.4.3"
},
{
"metadata": {
"id": "8c1fc960-44b1-45e8-89b5-85f982fdaf27",
"publisherId": "adpyke.codesnap",
"publisherDisplayName": "adpyke"
},
"name": "codesnap",
"publisher": "adpyke",
"version": "1.3.4"
},
{
"metadata": {
"id": "121396ad-85a1-45ec-9fd1-d95028a847f5",
"publisherId": "naumovs.color-highlight",
"publisherDisplayName": "naumovs"
},
"name": "color-highlight",
"publisher": "naumovs",
"version": "2.5.0"
},
{
"metadata": {
"id": "23c4aeee-f844-43cd-b53e-1113e483f1a6",
"publisherId": "GitHub.copilot",
"publisherDisplayName": "GitHub"
},
"name": "copilot",
"publisher": "GitHub",
"version": "1.7.4273"
},
{
"metadata": {
"id": "2bbe1392-1ad3-4f59-82bc-fccaa3afc3a5",
"publisherId": "icrawl.discord-vscode",
"publisherDisplayName": "icrawl"
},
"name": "discord-vscode",
"publisher": "icrawl",
"version": "5.7.0"
},
{
"metadata": {
"id": "19804510-b475-4dae-b0f7-6ca08fd1af0c",
"publisherId": "dsznajder.es7-react-js-snippets",
"publisherDisplayName": "dsznajder"
},
"name": "es7-react-js-snippets",
"publisher": "dsznajder",
"version": "3.1.1"
},
{
"metadata": {
"id": "41aac8eb-b4f4-408d-9708-320d033a17f8",
"publisherId": "miguelsolorio.fluent-icons",
"publisherDisplayName": "miguelsolorio"
},
"name": "fluent-icons",
"publisher": "miguelsolorio",
"version": "0.0.15"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "11.7.0"
},
{
"metadata": {
"id": "38ad8277-d23f-4cfc-becf-c77e41c3f2ee",
"publisherId": "spywhere.guides",
"publisherDisplayName": "spywhere"
},
"name": "guides",
"publisher": "spywhere",
"version": "0.9.3"
},
{
"metadata": {
"id": "31dab038-d2f7-47c2-894e-5c35684dbd0e",
"publisherId": "karunamurti.haml",
"publisherDisplayName": "karunamurti"
},
"name": "haml",
"publisher": "karunamurti",
"version": "1.3.1"
},
{
"metadata": {
"id": "6c2f1801-1e7f-45b2-9b5c-7782f1e076e8",
"publisherId": "ms-toolsai.jupyter",
"publisherDisplayName": "ms-toolsai"
},
"name": "jupyter",
"publisher": "ms-toolsai",
"version": "2021.11.1001550889"
},
{
"metadata": {
"id": "9f6dc8db-620c-4844-b8c5-e74914f1be27",
"publisherId": "ms-toolsai.jupyter-keymap",
"publisherDisplayName": "ms-toolsai"
},
"name": "jupyter-keymap",
"publisher": "ms-toolsai",
"version": "1.0.0"
},
{
"metadata": {
"id": "b15c72f8-d5fe-421a-a4f7-27ed9f6addbf",
"publisherId": "ms-toolsai.jupyter-renderers",
"publisherDisplayName": "ms-toolsai"
},
"name": "jupyter-renderers",
"publisher": "ms-toolsai",
"version": "1.0.4"
},
{
"metadata": {
"id": "b63c44fd-0457-4696-99e9-dbfdf70d77de",
"publisherId": "ritwickdey.LiveServer",
"publisherDisplayName": "ritwickdey"
},
"name": "LiveServer",
"publisher": "ritwickdey",
"version": "5.6.1"
},
{
"metadata": {
"id": "633db44e-aa2a-4076-9b80-fb54ac7980cb",
"publisherId": "juliettepretot.lucy-vscode",
"publisherDisplayName": "juliettepretot"
},
"name": "lucy-vscode",
"publisher": "juliettepretot",
"version": "2.8.2"
},
{
"metadata": {
"id": "e58f546c-babc-455f-a265-ba40dbd140d4",
"publisherId": "sdras.night-owl",
"publisherDisplayName": "sdras"
},
"name": "night-owl",
"publisher": "sdras",
"version": "2.0.1"
},
{
"metadata": {
"id": "6f35c257-7fd5-4bc2-9cd1-01976589c17a",
"publisherId": "arcticicestudio.nord-visual-studio-code",
"publisherDisplayName": "arcticicestudio"
},
"name": "nord-visual-studio-code",
"publisher": "arcticicestudio",
"version": "0.19.0"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "9.0.0"
},
{
"metadata": {
"id": "33ce9d6b-41cf-4972-a62b-386f7201981d",
"publisherId": "Prisma.prisma",
"publisherDisplayName": "Prisma"
},
"name": "prisma",
"publisher": "Prisma",
"version": "3.6.0"
},
{
"metadata": {
"id": "ceff1db7-ccbb-4835-8056-635a65428818",
"publisherId": "sainoba.px-to-rem",
"publisherDisplayName": "sainoba"
},
"name": "px-to-rem",
"publisher": "sainoba",
"version": "1.3.1"
},
{
"metadata": {
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5",
"publisherId": "ms-python.python",
"publisherDisplayName": "ms-python"
},
"name": "python",
"publisher": "ms-python",
"version": "2021.12.1559732655"
},
{
"metadata": {
"id": "c2f1bda1-baa4-4627-975e-d130d7268f70",
"publisherId": "helixquar.randomeverything",
"publisherDisplayName": "helixquar"
},
"name": "randomeverything",
"publisher": "helixquar",
"version": "0.0.3"
},
{
"metadata": {
"id": "6ef63bba-e6b8-4209-b562-9a927f36ae8f",
"publisherId": "mvllow.rose-pine",
"publisherDisplayName": "mvllow"
},
"name": "rose-pine",
"publisher": "mvllow",
"version": "1.4.0"
},
{
"metadata": {
"id": "a84825e8-5f04-4988-b85a-4942e795bcbe",
"publisherId": "burkeholland.simple-react-snippets",
"publisherDisplayName": "burkeholland"
},
"name": "simple-react-snippets",
"publisher": "burkeholland",
"version": "1.2.5"
},
{
"metadata": {
"id": "51cd7dfb-14fa-4fcc-aa42-16add9281456",
"publisherId": "SimonSiefke.svg-preview",
"publisherDisplayName": "SimonSiefke"
},
"name": "svg-preview",
"publisher": "SimonSiefke",
"version": "2.8.3"
},
{
"metadata": {
"id": "f5d7ffda-c1d6-4070-ba80-803c705a1ee6",
"publisherId": "monokai.theme-monokai-pro-vscode",
"publisherDisplayName": "monokai"
},
"name": "theme-monokai-pro-vscode",
"publisher": "monokai",
"version": "1.1.19"
},
{
"metadata": {
"id": "1cac7443-911e-48b9-8341-49f3880c288a",
"publisherId": "enkia.tokyo-night",
"publisherDisplayName": "enkia"
},
"name": "tokyo-night",
"publisher": "enkia",
"version": "0.8.3"
},
{
"metadata": {
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483",
"publisherId": "octref.vetur",
"publisherDisplayName": "octref"
},
"name": "vetur",
"publisher": "octref",
"version": "0.35.0"
},
{
"metadata": {
"id": "f97a6398-d553-44cf-9ebf-54e8dbf8d3fb",
"publisherId": "pucelle.vscode-css-navigation",
"publisherDisplayName": "pucelle"
},
"name": "vscode-css-navigation",
"publisher": "pucelle",
"version": "1.11.2"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "2.2.2"
},
{
"metadata": {
"id": "eedfd044-d5ac-4389-973d-3ac1fdb98ad5",
"publisherId": "kisstkondoros.vscode-gutter-preview",
"publisherDisplayName": "kisstkondoros"
},
"name": "vscode-gutter-preview",
"publisher": "kisstkondoros",
"version": "0.29.0"
},
{
"metadata": {
"id": "364d2426-116a-433a-a5d8-a5098dc3afbd",
"publisherId": "ms-python.vscode-pylance",
"publisherDisplayName": "ms-python"
},
"name": "vscode-pylance",
"publisher": "ms-python",
"version": "2021.12.2"
},
{
"metadata": {
"id": "b35cd5b4-18db-46f9-ba9e-06096c3b22d3",
"publisherId": "msjsdiag.vscode-react-native",
"publisherDisplayName": "msjsdiag"
},
"name": "vscode-react-native",
"publisher": "msjsdiag",
"version": "1.8.1"
},
{
"metadata": {
"id": "8d088af2-ecd1-4b8f-93e9-322125c47b3c",
"publisherId": "BriteSnow.vscode-toggle-quotes",
"publisherDisplayName": "BriteSnow"
},
"name": "vscode-toggle-quotes",
"publisher": "BriteSnow",
"version": "0.3.5"
},
{
"metadata": {
"id": "f2fd462f-f1bd-4c62-b54f-59a4e5ffc6a3",
"publisherId": "WakaTime.vscode-wakatime",
"publisherDisplayName": "WakaTime"
},
"name": "vscode-wakatime",
"publisher": "WakaTime",
"version": "17.1.0"
}
]
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "http://example.com/example.json",
"type": "object",
"title": "The Oh My Posh theme definition",
"description": "https://ohmyposh.dev/docs/config-overview",
"definitions": {
"color": {
"anyOf": [
{ "$ref": "#/definitions/color_string" },
{ "$ref": "#/definitions/palette_reference" }
]
},
"color_string": {
"type": "string",
"pattern": "^(#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})|black|red|green|yellow|blue|magenta|cyan|white|default|darkGray|lightRed|lightGreen|lightYellow|lightBlue|lightMagenta|lightCyan|lightWhite|transparent|parentBackground|parentForeground|background|foreground)$",
"title": "Color string",
"description": "https://ohmyposh.dev/docs/config-colors",
"format": "color"
},
"palette_reference": {
"type": "string",
"pattern": "^p:.*$",
"title": "Palette reference",
"description": "https://ohmyposh.dev/docs/config-colors#palette"
},
"color_templates": {
"type": "array",
"title": "Templates to define a color",
"description": "https://ohmyposh.dev/docs/config-overview#foreground-templates",
"default": [],
"items": {
"type": "string"
}
},
"fetch_version": {
"type": "boolean",
"title": "Fetch Version",
"description": "Fetch the version number",
"default": true
},
"enable_hyperlink": {
"type": "boolean",
"title": "Enable hyperlink",
"description": "Displays an hyperlink for the current segment",
"default": false
},
"http_timeout": {
"type": "integer",
"title": "Http requst timeout",
"description": "Timeout value to use for http request",
"default": 20
},
"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",
"enum": ["always", "files", "environment", "context"],
"default": "context"
},
"missing_command_text": {
"type": "string",
"title": "Missing command text",
"description": "The string to display when the command is not available",
"default": ""
},
"template": {
"$ref": "#/definitions/template"
},
"block": {
"type": "object",
"description": "https://ohmyposh.dev/docs/config-overview#block",
"allOf": [
{
"if": {
"properties": {
"type": { "const": "prompt" }
}
},
"then": {
"required": ["type", "alignment", "segments"],
"title": "Prompt definition, contains 1 or more segments to render"
}
},
{
"if": {
"properties": {
"type": { "const": "rprompt" }
}
},
"then": {
"required": ["type", "segments"],
"title": "RPrompt definition, contains 1 or more segments to render to the right of the cursor"
}
}
],
"properties": {
"type": {
"type": "string",
"title": "Block type",
"description": "https://ohmyposh.dev/docs/config-overview#type",
"enum": ["prompt", "rprompt"],
"default": "prompt"
},
"alignment": {
"type": "string",
"title": "Block alignment",
"description": "https://ohmyposh.dev/docs/config-overview#alignment",
"enum": ["left", "right"],
"default": "left"
},
"newline": {
"type": "boolean",
"title": "Newline",
"description": "https://ohmyposh.dev/docs/config-overview#newline",
"default": false
},
"vertical_offset": {
"type": "integer",
"title": "Block vertical offset",
"description": "https://ohmyposh.dev/docs/config-overview#vertical-offset"
},
"horizontal-offset": {
"type": "integer",
"title": "Block vertical offset",
"description": "https://ohmyposh.dev/docs/config-overview#horizontal-offset"
},
"segments": {
"type": "array",
"title": "Segments list, prompt elements to display based on context",
"description": "https://ohmyposh.dev/docs/config-overview#segment",
"default": [],
"items": { "$ref": "#/definitions/segment" }
}
}
},
"segment": {
"type": "object",
"title": "A segment",
"description": "https://ohmyposh.dev/docs/config-overview#segment",
"default": {},
"required": ["type", "style"],
"properties": {
"type": {
"type": "string",
"title": "Segment Type",
"description": "https://ohmyposh.dev/docs/config-overview#type-1",
"enum": [
"session",
"path",
"git",
"exit",
"python",
"root",
"time",
"text",
"command",
"battery",
"spotify",
"shell",
"node",
"os",
"envvar",
"az",
"kubectl",
"dotnet",
"terraform",
"go",
"julia",
"ruby",
"ytm",
"executiontime",
"aws",
"java",
"poshgit",
"azfunc",
"crystal",
"dart",
"rust",
"owm",
"sysinfo",
"angular",
"php",
"wakatime",
"wifi",
"winreg",
"plastic"
]
},
"style": {
"type": "string",
"title": "Segment Style",
"description": "https://ohmyposh.dev/docs/config-overview#style",
"enum": ["powerline", "plain", "diamond"]
},
"foreground": { "$ref": "#/definitions/color" },
"foreground_templates": { "$ref": "#/definitions/color_templates" },
"background": { "$ref": "#/definitions/color" },
"background_templates": { "$ref": "#/definitions/color_templates" },
"properties": {
"type": "object",
"title": "Segment Properties, used to change behavior/displaying",
"description": "https://ohmyposh.dev/docs/config-overview#properties",
"default": {},
"properties": {
"prefix": {
"type": "string",
"title": "Text prefix",
"description": "https://ohmyposh.dev/docs/config-overview#prefix",
"default": " "
},
"postfix": {
"type": "string",
"title": "Text postfix",
"description": "https://ohmyposh.dev/docs/config-overview#postfix",
"default": " "
},
"include_folders": {
"type": "array",
"title": "If specified, segment will only render in these folders",
"description": "https://ohmyposh.dev/docs/config-overview#include--exclude-folders",
"default": [],
"items": {
"type": "string"
}
},
"exclude_folders": {
"type": "array",
"title": "Exclude rendering in these folders",
"description": "https://ohmyposh.dev/docs/config-overview#include--exclude-folders",
"default": [],
"items": {
"type": "string"
}
},
"ignore_folders": {
"type": "array",
"title": "Deprecated - please use `exclude_folders` instead",
"description": "https://ohmyposh.dev/docs/config-overview#include--exclude-folders",
"default": [],
"items": {
"type": "string"
},
"deprecated": true
}
}
}
},
"allOf": [
{
"if": {
"properties": {
"style": { "const": "powerline" }
}
},
"then": {
"properties": {
"powerline_symbol": {
"type": "string",
"title": "Powerline Symbol",
"description": "https://ohmyposh.dev/docs/config-overview#powerline-symbol",
"default": "\uE0B0"
},
"invert_powerline": {
"type": "boolean",
"title": "Flip the Powerline symbol vertically",
"description": "https://ohmyposh.dev/docs/config-overview#invert-powerline",
"default": false
}
}
}
},
{
"if": {
"properties": {
"style": { "const": "diamond" }
}
},
"then": {
"properties": {
"leading_diamond": {
"type": "string",
"title": "Leading diamond",
"description": "https://ohmyposh.dev/docs/config-overview#leading-diamond",
"default": ""
},
"trailing_diamond": {
"type": "string",
"title": "Trailing diamond",
"description": "https://ohmyposh.dev/docs/config-overview#trailing-diamond",
"default": ""
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "az" }
}
},
"then": {
"title": "Azure Segment",
"description": "https://ohmyposh.dev/docs/az",
"properties": {
"properties": {
"properties": {
"template": {
"$ref": "#/definitions/template"
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "battery" }
}
},
"then": {
"title": "Battery Segment",
"description": "https://ohmyposh.dev/docs/battery",
"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",
"description": "Text/icon to display on the left when charging",
"default": ""
},
"discharging_icon": {
"type": "string",
"title": "discharging Dcon",
"description": "Text/icon to display on the left when discharging",
"default": ""
},
"charged_icon": {
"type": "string",
"title": "Charged Icon",
"description": "Text/icon to display on the left when fully charged",
"default": ""
},
"template": {
"$ref": "#/definitions/template"
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "command" }
}
},
"then": {
"title": "Command Segment",
"description": "https://ohmyposh.dev/docs/command",
"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",
"default": "echo no command specified"
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "dotnet" }
}
},
"then": {
"title": "Dotnet Segment",
"description": "https://ohmyposh.dev/docs/dotnet",
"properties": {
"properties": {
"properties": {
"unsupported_version_icon": {
"type": "string",
"title": "Unsupported Version Icon",
"description": "Text/icon that is displayed when the active .NET SDK version (e.g., one specified by global.json) is not installed/supported",
"default": " \uE77F "
},
"fetch_version": {
"$ref": "#/definitions/fetch_version"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
},
"missing_command_text": {
"$ref": "#/definitions/missing_command_text"
},
"enable_hyperlink": {
"$ref": "#/definitions/enable_hyperlink"
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "envvar" }
}
},
"then": {
"title": "Environment Variable Segment",
"description": "https://ohmyposh.dev/docs/environment",
"properties": {
"properties": {
"properties": {
"template": {
"$ref": "#/definitions/template"
},
"var_name": {
"type": "string",
"title": "Variable Name",
"description": "The name of the environment variable",
"default": ""
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "exit" }
}
},
"then": {
"title": "Exit Segment",
"description": "https://ohmyposh.dev/docs/exit",
"properties": {
"properties": {
"properties": {
"always_enabled": {
"type": "boolean",
"title": "Always Enabled",
"description": "Always show the status",
"default": false
},
"template": {
"$ref": "#/definitions/template"
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "git" }
}
},
"then": {
"title": "Git Segment",
"description": "https://ohmyposh.dev/docs/git",
"properties": {
"properties": {
"properties": {
"template": {
"$ref": "#/definitions/template"
},
"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
},
"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",
"default": "\u2261"
},
"branch_ahead_icon": {
"type": "string",
"title": "Branch Ahead Icon",
"description": "The icon to display when the local branch is ahead of its remote",
"default": "\u2191"
},
"branch_behind_icon": {
"type": "string",
"title": "Branch Behind Icon",
"description": "The icon to display when the local branch is behind its remote",
"default": "\u2193"
},
"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"
},
"revert_icon": {
"type": "string",
"title": "Revert Icon",
"description": "Icon/text to display before the context when doing a revert",
"default": "\uF0E2"
},
"merge_icon": {
"type": "string",
"title": "Merge Icon",
"description": "Icon/text to display before the merge context",
"default": "\uE727"
},
"no_commits_icon": {
"type": "string",
"title": "No Commits Icon",
"description": "Icon/text to display when there are no commits in the repo",
"default": "\uF594"
},
"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"
},
"azure_devops_icon": {
"type": "string",
"title": "Azure DevOps Icon",
"description": "Icon/text to display when the upstream is Azure DevOps",
"default": "\uFD03"
},
"git_icon": {
"type": "string",
"title": "Git Icon",
"description": "Icon/text to display when the upstream is not known/mapped",
"default": "\uE5FB"
},
"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
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "go" }
}
},
"then": {
"title": "Golang Segment",
"description": "https://ohmyposh.dev/docs/golang",
"properties": {
"properties": {
"properties": {
"fetch_version": {
"$ref": "#/definitions/fetch_version"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
},
"missing_command_text": {
"$ref": "#/definitions/missing_command_text"
},
"enable_hyperlink": {
"$ref": "#/definitions/enable_hyperlink"
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "dart" }
}
},
"then": {
"title": "Dart Segment",
"description": "https://ohmyposh.dev/docs/dart",
"properties": {
"properties": {
"properties": {
"fetch_version": {
"$ref": "#/definitions/fetch_version"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
},
"missing_command_text": {
"$ref": "#/definitions/missing_command_text"
},
"enable_hyperlink": {
"$ref": "#/definitions/enable_hyperlink"
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "crystal" }
}
},
"then": {
"title": "Crystal Segment",
"description": "https://ohmyposh.dev/docs/crystal",
"properties": {
"properties": {
"properties": {
"fetch_version": {
"$ref": "#/definitions/fetch_version"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
},
"missing_command_text": {
"$ref": "#/definitions/missing_command_text"
},
"enable_hyperlink": {
"$ref": "#/definitions/enable_hyperlink"
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "julia" }
}
},
"then": {
"title": "Julia Segment",
"description": "https://ohmyposh.dev/docs/julia",
"properties": {
"properties": {
"properties": {
"fetch_version": {
"$ref": "#/definitions/fetch_version"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
},
"missing_command_text": {
"$ref": "#/definitions/missing_command_text"
},
"enable_hyperlink": {
"$ref": "#/definitions/enable_hyperlink"
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "php" }
}
},
"then": {
"title": "PHP Segment",
"description": "https://ohmyposh.dev/docs/php",
"properties": {
"properties": {
"properties": {
"fetch_version": {
"$ref": "#/definitions/fetch_version"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
},
"missing_command_text": {
"$ref": "#/definitions/missing_command_text"
},
"enable_hyperlink": {
"$ref": "#/definitions/enable_hyperlink"
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "java" }
}
},
"then": {
"title": "Java Segment",
"description": "https://ohmyposh.dev/docs/java",
"properties": {
"properties": {
"properties": {
"fetch_version": {
"$ref": "#/definitions/fetch_version"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
},
"missing_command_text": {
"$ref": "#/definitions/missing_command_text"
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "ruby" }
}
},
"then": {
"title": "Ruby Segment",
"description": "https://ohmyposh.dev/docs/ruby",
"properties": {
"properties": {
"properties": {
"fetch_version": {
"$ref": "#/definitions/fetch_version"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
},
"missing_command_text": {
"$ref": "#/definitions/missing_command_text"
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "rust" }
}
},
"then": {
"title": "Rust Segment",
"description": "https://ohmyposh.dev/docs/rust",
"properties": {
"properties": {
"properties": {
"fetch_version": {
"$ref": "#/definitions/fetch_version"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
},
"missing_command_text": {
"$ref": "#/definitions/missing_command_text"
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "kubectl" }
}
},
"then": {
"title": "Kubectl Segment",
"description": "https://ohmyposh.dev/docs/kubectl",
"properties": {
"properties": {
"properties": {
"template": {
"$ref": "#/definitions/template"
},
"display_error": {
"type": "boolean",
"title": "Display Error",
"description": "Show the error context when failing to retrieve the kubectl information",
"default": false
},
"parse_kubeconfig": {
"type": "boolean",
"title": "Parse kubeconfig",
"description": "Parse kubeconfig files instead of calling out to kubectl to improve performance.",
"default": false
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "aws" }
}
},
"then": {
"title": "AWS Segment",
"description": "https://ohmyposh.dev/docs/aws",
"properties": {
"properties": {
"properties": {
"template": {
"$ref": "#/definitions/template"
},
"display_default": {
"type": "boolean",
"title": "Display Default User Profile",
"description": "Display the segment when default user or not",
"default": true
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "node" }
}
},
"then": {
"title": "Node Segment",
"description": "https://ohmyposh.dev/docs/node",
"properties": {
"properties": {
"properties": {
"template": {
"$ref": "#/definitions/template"
},
"fetch_version": {
"$ref": "#/definitions/fetch_version"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
},
"missing_command_text": {
"$ref": "#/definitions/missing_command_text"
},
"fetch_package_manager": {
"type": "boolean",
"title": "Fetch Display Package Manager",
"description": "Assigns the Yarn or NPM icon to .PackageManagerIcon",
"default": false
},
"yarn_icon": {
"type": "string",
"title": "Yarn Icon",
"description": "Icon/text to use for Yarn",
"default": " \uF61A"
},
"npm_icon": {
"type": "string",
"title": "NPM Icon",
"description": "Icon/text to use for NPM",
"default": " \uE71E"
},
"enable_hyperlink": {
"$ref": "#/definitions/enable_hyperlink"
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "azfunc" }
}
},
"then": {
"title": "Azure Function Segment",
"description": "https://ohmyposh.dev/docs/azfunc",
"properties": {
"properties": {
"properties": {
"fetch_version": {
"$ref": "#/definitions/fetch_version"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
},
"missing_command_text": {
"$ref": "#/definitions/missing_command_text"
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "os" }
}
},
"then": {
"title": "Operating System Segment",
"description": "https://ohmyposh.dev/docs/os",
"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"
},
"wsl": {
"type": "string",
"title": "WSL Icon",
"description": "Icon/text to use for WSL",
"default": "WSL"
},
"wsl_separator": {
"type": "string",
"title": "WSL Separator",
"description": "Icon/text to use for separating WSL from Linux",
"default": " - "
},
"display_distro_name": {
"type": "boolean",
"title": "Display Distro Name",
"description": "Display the distro name or icon or not",
"default": false
},
"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"
},
"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"
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "path" }
}
},
"then": {
"title": "Path Segment",
"description": "https://ohmyposh.dev/docs/path",
"properties": {
"properties": {
"properties": {
"folder_separator_icon": {
"type": "string",
"title": "Folder Separator Icon",
"description": "The symbol to use as a separator between folders",
"default": "/"
},
"home_icon": {
"type": "string",
"title": "Home Icon",
"description": "The icon to display when at $HOME",
"default": "/"
},
"folder_icon": {
"type": "string",
"title": "Folder Icon",
"description": "The con to use as a folder indication",
"default": ".."
},
"windows_registry_icon": {
"type": "string",
"title": "Windows Registry Icon",
"description": "The icon to display when in the Windows registry",
"default": "\uE0B1"
},
"style": {
"type": "string",
"title": "The Path Style",
"description": "How to display the current path",
"enum": [
"agnoster",
"agnoster_full",
"agnoster_short",
"agnoster_left",
"short",
"full",
"folder",
"mixed",
"letter"
],
"default": "folder"
},
"mapped_locations": {
"type": "object",
"title": "Mapped Locations",
"description": "Custom glyph/text for specific paths",
"default": {}
},
"max_depth": {
"type": "integer",
"title": "Maximum Depth",
"description": "Maximum path depth to display whithout shortening",
"default": 1
}
},
"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
},
"stack_count_enabled": {
"type": "boolean",
"title": "Show/hide stack count",
"description": "Displays the stack count when using pushd/popd",
"default": false
},
"enable_hyperlink": {
"$ref": "#/definitions/enable_hyperlink"
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "python" }
}
},
"then": {
"title": "Python Segment",
"description": "https://ohmyposh.dev/docs/python",
"properties": {
"properties": {
"properties": {
"fetch_virtual_env": {
"type": "boolean",
"title": "Fetch Virtual Env",
"description": "Fetch the name of the virtualenv or not",
"default": true
},
"display_mode": {
"$ref": "#/definitions/display_mode"
},
"missing_command_text": {
"$ref": "#/definitions/missing_command_text"
},
"enable_hyperlink": {
"$ref": "#/definitions/enable_hyperlink"
},
"template": {
"$ref": "#/definitions/template"
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "root" }
}
},
"then": {
"title": "Root Segment",
"description": "https://ohmyposh.dev/docs/root",
"properties": {
"properties": {
"properties": {
"root_icon": {
"type": "string",
"title": "Root Icon",
"description": "The icon to display in case of root/elevated",
"default": "\uF0E7"
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "session" }
}
},
"then": {
"title": "Session Segment",
"description": "https://ohmyposh.dev/docs/session",
"properties": {
"properties": {
"properties": {
"ssh_icon": {
"type": "string",
"title": "SSH Icon",
"description": "Text/icon to display first when in an active SSH session",
"default": "\uF817"
},
"template": {
"$ref": "#/definitions/template"
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "shell" }
}
},
"then": {
"title": "Shell Segment",
"description": "https://ohmyposh.dev/docs/shell",
"properties": {
"properties": {
"properties": {
"custom_text": {
"type": "object",
"title": "Custom Text",
"description": "Custom glyph/text for specific shells",
"default": {}
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "spotify" }
}
},
"then": {
"title": "Spotify Segment",
"description": "https://ohmyposh.dev/docs/spotify",
"properties": {
"properties": {
"properties": {
"playing_icon": {
"type": "string",
"title": "User Info Separator",
"description": "Text/icon to show when playing",
"default": "\uE602"
},
"paused_icon": {
"type": "string",
"title": "SSH Icon",
"description": "Text/icon to show when paused",
"default": "\uF8E3"
},
"stopped_icon": {
"type": "string",
"title": "SSH Icon",
"description": "Text/icon to show when stopped",
"default": "\uF04D"
},
"track_separator": {
"type": "string",
"title": "SSH Icon",
"description": "Text/icon to put between the artist and song name",
"default": " - "
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "terraform" }
}
},
"then": {
"title": "Terraform Segment",
"description": "https://ohmyposh.dev/docs/terraform"
}
},
{
"if": {
"properties": {
"type": { "const": "text" }
}
},
"then": {
"title": "Text Segment",
"description": "https://ohmyposh.dev/docs/text",
"properties": {
"properties": {
"properties": {
"text": {
"type": "string",
"title": "Text",
"description": "Text/icon to display",
"default": ""
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "time" }
}
},
"then": {
"title": "Time Segment",
"description": "https://ohmyposh.dev/docs/time",
"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"
},
"template": {
"$ref": "#/definitions/template"
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "ytm" }
}
},
"then": {
"title": "YouTube Music Desktop App Segment",
"description": "https://ohmyposh.dev/docs/ytm",
"properties": {
"properties": {
"properties": {
"playing_icon": {
"type": "string",
"title": "User Info Separator",
"description": "Text/icon to show when playing",
"default": "\uE602"
},
"paused_icon": {
"type": "string",
"title": "SSH Icon",
"description": "Text/icon to show when paused",
"default": "\uF8E3"
},
"stopped_icon": {
"type": "string",
"title": "SSH Icon",
"description": "Text/icon to show when stopped",
"default": "\uF04D"
},
"track_separator": {
"type": "string",
"title": "SSH Icon",
"description": "Text/icon to put between the artist and song name",
"default": " - "
},
"api_url": {
"type": "string",
"title": "API URL",
"description": "The YTMDA Remote Control API URL",
"default": "http://127.0.0.1:9863"
},
"http_timeout": {
"$ref": "#/definitions/http_timeout"
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "owm" }
}
},
"then": {
"title": "Open Weather Map Segment",
"description": "Displays the current weather from the Open Weather Map system",
"properties": {
"properties": {
"properties": {
"apikey": {
"type": "string",
"title": "apikey",
"description": "The apikey used for the api call (Required)",
"default": "."
},
"location": {
"type": "string",
"title": "location",
"description": "Location to use for the api call. 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.",
"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",
"default": "standard",
"enum": ["standard", "metric", "imperial"]
},
"enable_hyperlink": {
"$ref": "#/definitions/enable_hyperlink"
},
"http_timeout": {
"$ref": "#/definitions/http_timeout"
},
"cache_timeout": {
"type": "integer",
"title": "cache timeout",
"description": "The number of minutes the response is cached. A value of 0 disables the cache.",
"default": 10
},
"template": {
"$ref": "#/definitions/template"
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "executiontime" }
}
},
"then": {
"title": "Displays the execution time of the previously executed command",
"description": "https://ohmyposh.dev/docs/executiontime",
"properties": {
"properties": {
"properties": {
"template": {
"$ref": "#/definitions/template"
},
"always_enabled": {
"type": "boolean",
"title": "Always Enabled",
"description": "Always show the duration",
"default": false
},
"threshold": {
"type": "number",
"title": "Threshold",
"description": "minimum duration (milliseconds) required to enable this segment",
"default": 500
},
"style": {
"type": "string",
"title": "Style",
"description": "The style in which the time will be displayed",
"enum": [
"austin",
"roundrock",
"dallas",
"galveston",
"houston",
"amarillo",
"round"
],
"default": "austin"
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "poshgit" }
}
},
"then": {
"title": "Posh-Git Segment",
"description": "https://ohmyposh.dev/docs/poshgit"
}
},
{
"if": {
"properties": {
"type": { "const": "sysinfo" }
}
},
"then": {
"title": "Get sysinfo",
"description": "https://ohmyposh.dev/docs/sysinfo",
"properties": {
"properties": {
"properties": {
"precision": {
"type": "integer",
"title": "Precision",
"description": "number of decimal places to show",
"default": 0
},
"template": {
"$ref": "#/definitions/template"
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "angular" }
}
},
"then": {
"title": "Angular CLI Segment",
"description": "https://ohmyposh.dev/docs/angular",
"properties": {
"properties": {
"properties": {
"fetch_version": {
"$ref": "#/definitions/fetch_version"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
}
}
}
}
}
},
{
"if": {
"properties": {
"type": { "const": "wakatime" }
}
},
"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"
},
"cache_timeout": {
"type": "integer",
"title": "cache timeout",
"description": "The number of minutes the response is cached. A value of 0 disables the cache.",
"default": 10
},
"template": {
"$ref": "#/definitions/template"
}
}
}
}
}
},
{