Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
oh-my-posh3 の自分用カスタムテーマ
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json",
"console_title": true,
"console_title_style": "template",
"console_title_template": "{{.Shell}} : {{.Folder}}",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "session",
"style": "powerline",
"foreground": "#E1E4EB",
"background": "#1689B1",
"properties": {
"ssh_icon": "@",
"display_user": false
}
},
{
"type": "root",
"style": "powerline",
"foreground": "#FFEE58",
"background": "#546E7A",
"properties": {
"root_icon": "\uF0E7"
}
},
{
"type": "path",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#D2D2D2",
"background": "#3A3A3A",
"properties": {
"style": "agnoster_full",
"folder_separator_icon": " \uE0B1 ",
"mapped_locations": [
["\\\\", ""]
]
}
},
{
"type": "git",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#193549",
"background": "#95ffa4"
},
{
"type": "exit",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#ffffff",
"background": "#ff8080"
}
]
},
{
"type": "prompt",
"alignment": "right",
"segments": [
{
"type": "time",
"style": "diamond",
"foreground": "#26C6DA",
"leading_diamond": "<#26C6DA>|</>",
"properties": {
"time_format": "15:04",
"postfix": " \uF017 "
}
}
]
},
{
"type": "newline"
},
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "exit",
"style": "plain",
"foreground": "#D4E157",
"properties": {
"prefix": "\u276F",
"always_enabled": true,
"error_color": "#FF5252",
"display_exit_code": false
}
}
]
}
],
"final_space": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment