Skip to content

Instantly share code, notes, and snippets.

@aarshtalati
Created Aug 4, 2021
Embed
What would you like to do?
Oh my Posh custom theme
{
"blocks": [
{
"type": "prompt",
"alignment": "left",
"newline": false,
"segments": [
{
"type": "os",
"style": "plain",
"foreground": "#262B44",
"background": "#FEAE34",
"properties": {
"prefix": "",
"postfix": "",
"macos": "mac"
}
},
{
"type": "session",
"style": "powerline",
"foreground": "#262B44",
"background": "#FEAE34",
"leading_diamond": "",
"trailing_diamond": "",
"properties": {
"postfix": " ",
"display_host": false
}
},
{
"type": "root",
"style": "powerline",
"powerline_symbol": "\ue0b0",
"foreground": "#ffffff",
"background": "#ff479c",
"properties": {
"root_icon": "\uF0E7",
"postfix": "<#7a7a7a> \ue0b1</>"
}
},
{
"type": "path",
"style": "powerline",
"powerline_symbol": "\ue0b0",
"foreground": "#fafafa",
"background": "#504B49",
"properties": {
"prefix": "<#f2f200> \ue5ff </>",
"style": "agnoster_short",
"enable_hyperlink": true,
"home_icon": "\uf015",
"folder_icon": "<#B5B2C2>\ue5fe </>",
"folder_separator_icon": "<#B5B2C2>\ue0bf </>"
}
},
{
"type": "poshgit",
"style": "powerline",
"powerline_symbol": "\ue0b0",
"foreground": "#ffffff",
"background": "#193549"
},
{
"type": "node",
"style": "powerline",
"powerline_symbol": "\ue0b0",
"foreground": "#ffffff",
"background": "#6CA35E",
"properties": {
"prefix": " \uF898 ",
"display_version": true
}
},
{
"type": "go",
"style": "powerline",
"powerline_symbol": "\ue0b0",
"foreground": "#111111",
"background": "#8ED1F7",
"properties": {
"prefix": " \uE626 ",
"display_version": true
}
},
{
"type": "julia",
"style": "powerline",
"powerline_symbol": "\ue0b0",
"foreground": "#111111",
"background": "#4063D8",
"properties": {
"prefix": " \uE624 ",
"display_version": true
}
},
{
"type": "python",
"style": "powerline",
"powerline_symbol": "\ue0b0",
"foreground": "#111111",
"background": "#FFDE57",
"properties": {
"prefix": " \uE235 ",
"display_version": true,
"display_mode": "files",
"display_virtual_env": false
}
},
{
"type": "ruby",
"style": "powerline",
"powerline_symbol": "\ue0b0",
"foreground": "#ffffff",
"background": "#AE1401",
"properties": {
"prefix": " \uE791 ",
"display_version": true,
"display_mode": "files"
}
},
{
"type": "azfunc",
"style": "powerline",
"powerline_symbol": "\ue0b0",
"foreground": "#ffffff",
"background": "#FEAC19",
"properties": {
"prefix": " \uf0e7",
"display_version": false,
"display_mode": "files"
}
},
{
"type": "aws",
"style": "powerline",
"powerline_symbol": "\ue0b0",
"foreground": "#ffffff",
"background_templates": [
"{{if contains \"default\" .Profile}}#FFA400{{end}}",
"{{if contains \"jan\" .Profile}}#f1184c{{end}}"
],
"properties": {
"prefix": " \uE7AD ",
"display_default": false
}
},
{
"type": "root",
"style": "powerline",
"powerline_symbol": "\ue0b0",
"foreground": "#111111",
"background": "#ffff66",
"properties": {
"root_icon": ""
}
},
{
"type": "executiontime",
"style": "powerline",
"powerline_symbol": "\ue0b0",
"foreground": "#ffffff",
"background": "#83769c",
"leading_diamond": "",
"trailing_diamond": "",
"properties": {
"always_enabled": true
}
},
{
"type": "exit",
"foreground": "#ffffff",
"background": "#2e9599",
"style": "powerline",
"powerline_symbol": "\ue0b0",
"properties": {
"display_exit_code": false,
"always_enabled": true,
"error_color": "#f1184c",
"color_background": true,
"prefix": ""
}
}
]
},
{
"newline": true,
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "text",
"style": "plain",
"foreground": "#757575",
"properties": {
"prefix": "",
"postfix": "",
"text": "\n\u2514 "
}
},
{
"type": "text",
"style": "plain",
"foreground": "#ffffff",
"properties": {
"prefix": "",
"postfix": "",
"text": "$"
}
}
]
}
],
"final_space": true,
"console_title": true,
"console_title_style": "template",
"console_title_template": "{{ .Shell }} in {{ .Folder }}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment