.files/.config/oh-my-posh/config.json

119 lines
2.9 KiB
JSON
Raw Normal View History

2024-10-17 15:16:09 +00:00
{
"blocks": [
{
"alignment": "left",
"newline": true,
"segments": [
{
"template": "{{ .Icon }} ",
"type": "os"
},
{
"background": "transparent",
"foreground": "#bebcae",
"properties": {
"style": "full"
},
"style": "plain",
"template": " {{ .Path }}",
"type": "path"
},
{
"background": "transparent",
"foreground": "white",
"properties": {
"branch_max_length": 25,
"fetch_status": true,
"fetch_upstream_icon": true
},
"style": "plain",
"template": " {{ if .UpstreamURL }}{{ url .UpstreamIcon .UpstreamURL }}{{ end }}{{ .HEAD }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }} ",
"type": "git"
}
],
"type": "prompt"
},
{
"overflow": "hidden",
"segments": [
{
"background": "transparent",
"duration": 0,
"foreground": "white",
"namelength": 0,
"properties": {
"display_mode": "files",
"fetch_package_manager": false,
"home_enabled": false
},
"style": "plain",
"template": " ",
"text": "",
"type": "node"
},
{
"background": "transparent",
"duration": 0,
"foreground": "white",
"namelength": 0,
"properties": {
"fetch_version": false
},
"style": "plain",
"template": " ",
"text": "",
"type": "go"
},
{
"background": "transparent",
"foreground": "white",
"properties": {
"display_mode": "files",
"fetch_version": false,
"fetch_virtual_env": true
},
"style": "plain",
"template": " {{ .Venv }}",
"type": "python"
},
{
"background": "transparent",
"foreground": "red",
"style": "plain",
"template": "{{ if .Error }} ✗ {{ end }}",
"type": "status"
},
{
"background": "transparent",
"foreground": "#ac966d",
"style": "plain",
"type": "executiontime"
}
],
"type": "rprompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"background": "transparent",
"foreground": "#ac966d",
"style": "plain",
"template": "",
"type": "text"
}
],
"type": "prompt"
}
],
"console_title_template": "{{ .Shell }} in {{ .Folder }}",
"final_space": true,
"transient_prompt": {
"background": "transparent",
"foreground": "white",
"template": " "
},
"version": 2
}