Skip to content

Instantly share code, notes, and snippets.

@TheOnlyTails
Created September 28, 2021 15:47
Show Gist options
  • Save TheOnlyTails/0779bfac3d2c94ee69181b3a8fdd6459 to your computer and use it in GitHub Desktop.
Save TheOnlyTails/0779bfac3d2c94ee69181b3a8fdd6459 to your computer and use it in GitHub Desktop.
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"final_space": false,
"console_title": true,
"console_title_style": "template",
"console_title_template": "{{.Host}} 📁 {{.Folder}}",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"vertical_offset": 1,
"segments": [
{
"type": "shell",
"style": "diamond",
"foreground": "#000000",
"background": "#FF7700",
"leading_diamond": "\uE0B6",
"trailing_diamond": "\uE0B0"
},
{
"type": "root",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#111111",
"background": "#ffff66",
"properties": {
"root_icon": "\uF0E7"
}
},
{
"type": "path",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#0c0c0c",
"background": "#61AFEF",
"properties": {
"folder_separator_icon": "<transparent> \uE0BD </>",
"prefix": " \uF07c ",
"style": "agnoster_full",
"enable_hyperlink": true,
"postfix": "/>"
}
},
{
"type": "git",
"style": "powerline",
"foreground": "transparent",
"background": "#ffeb3b",
"powerline_symbol": "\uE0B0",
"properties": {
"branch_icon": "\uE725 ",
"branch_identical_icon": "",
"branch_gone_icon": "\uF06a",
"display_status": true,
"display_stash_count": true,
"display_upstream_icon": true
}
},
{
"type": "java",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#ffffff",
"background": "#4063D8",
"properties": {
"prefix": " \uE738 ",
"missing_command_text": "Couldn't find Java version"
}
},
{
"type": "node",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#ffffff",
"background": "#6CA35E",
"properties": {
"prefix": " \uE60c "
}
},
{
"type": "python",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#100e23",
"background": "#906cff",
"properties": {
"prefix": " \uE235 "
}
},
{
"type": "text",
"style": "diamond",
"background": "inherit",
"foreground": "inherit",
"trailing_diamond": "\uE0B4",
"properties": {
"text": "\uE0BD"
}
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "exit",
"style": "plain",
"foreground": "#d9d9d9",
"properties": {
"prefix": "\u276F",
"always_enabled": true,
"error_color": "#FF7700",
"display_exit_code": false
}
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment