cross-platform

This commit is contained in:
2022-08-30 14:08:00 -07:00
parent 9e619c64b8
commit 54f30a3c4a
13 changed files with 942 additions and 10 deletions

View File

@@ -0,0 +1,123 @@
{
"final_space": true,
"console_title": false,
"console_title_style": "",
"blocks": [
{
"type": "newline",
"alignment": "",
"horizontal_offset": 0,
"vertical_offset": 0,
"segments": null
},
{
"type": "prompt",
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
"segments": [
{
"type": "os",
"style": "diamond",
"foreground": "black",
"background": "lightWhite",
"leading_diamond": "",
"trailing_diamond": "",
"powerline_symbol": "",
"invert_powerline": false,
"properties": null
},
{
"type": "path",
"style": "powerline",
"powerline_symbol": "",
"invert_powerline": false,
"foreground": "lightWhite",
"background": "blue",
"leading_diamond": "",
"trailing_diamond": "",
"properties": {
"prefix": "  ",
"style": "folder"
}
},
{
"type": "git",
"style": "powerline",
"powerline_symbol": "",
"invert_powerline": false,
"foreground": "black",
"background": "green",
"leading_diamond": "",
"trailing_diamond": "",
"properties": {
"display_stash_count": true,
"display_upstream_icon": true,
"color_background": true,
"status_colors_enabled": true,
"local_changes_color": "yellow",
"ahead_color": "purple",
"behind_color": "red"
}
},
{
"type": "root",
"style": "powerline",
"powerline_symbol": "",
"invert_powerline": false,
"foreground": "lightWhite",
"background": "cyan",
"leading_diamond": "",
"trailing_diamond": "",
"properties": null
},
{
"type": "exit",
"style": "diamond",
"powerline_symbol": "",
"invert_powerline": false,
"foreground": "lightWhite",
"background": "darkGray",
"leading_diamond": "",
"trailing_diamond": "",
"properties": {
"always_enabled": true,
"color_background": true,
"display_exit_code": false,
"error_color": "red",
"prefix": "\u003ctransparent\u003e\u003c/\u003e "
}
}
]
},
{
"type": "newline",
"alignment": "",
"horizontal_offset": 0,
"vertical_offset": 0,
"segments": null
},
{
"type": "prompt",
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
"segments": [
{
"type": "text",
"style": "plain",
"powerline_symbol": "",
"invert_powerline": false,
"foreground": "blue",
"background": "",
"leading_diamond": "",
"trailing_diamond": "",
"properties": {
"prefix": "",
"text": ""
}
}
]
}
]
}

View File

@@ -0,0 +1,66 @@
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
"segments": [
{
"background": "background",
"foreground": "foreground",
"powerline_symbol": "",
"leading_diamond": "",
"trailing_diamond": "",
"properties": {
"prefix": "  ",
"style": "folder"
},
"style": "diamond",
"type": "path"
},
{
"background": "#fee761",
"foreground": "#262b44",
"powerline_symbol": "",
"properties": {
"display_stash_count": true,
"display_upstream_icon": true,
"status_colors_enabled": true,
"local_changes_color": "#f77622",
"ahead_and_behind_color": "#e43b44",
"behind_color": "#f77622",
"ahead_color": "#2ce8f5",
"stash_count_icon": "\uF692 "
},
"style": "powerline",
"type": "git"
},
{
"background": "#fee761",
"foreground": "#262b44",
"powerline_symbol": "",
"style": "powerline",
"type": "root"
},
{
"background": "#0095e9",
"foreground": "#ffffff",
"leading_diamond": "<transparent, #0095e9></>",
"properties": {
"always_enabled": true,
"color_background": true,
"display_exit_code": false,
"error_color": "#ff0044",
"prefix": " "
},
"style": "diamond",
"trailing_diamond": "",
"type": "exit"
}
],
"type": "prompt"
}
],
"final_space": true
}