first commit

This commit is contained in:
2026-02-16 22:32:35 +08:00
commit bcdd19df21
13 changed files with 1060 additions and 0 deletions

View File

@@ -0,0 +1,65 @@
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"version": 4,
"final_space": true,
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "os",
"style": "plain",
"template": "{{ .Icon }} ",
"foreground_templates": [
"{{ if eq .OS \"windows\" }}#4fc3ff{{ end }}",
"{{ if eq .OS \"linux\" }}#a6e3a1{{ end }}"
]
},
{
"type": "session",
"style": "plain",
"foreground": "#7CFF00",
"template": "{{ .UserName }} "
},
{
"type": "text",
"style": "plain",
"foreground": "#4fc3ff",
"template": " "
},
{
"type": "path",
"style": "plain",
"foreground": "#4fc3ff",
"options": {
"style": "folder"
},
"template": "{{ .Path }} "
},
{
"type": "git",
"style": "plain",
"foreground": "#ff94df",
"options": {
"branch_icon": " ",
"fetch_status": true
},
"template": "{{ .HEAD }}{{ if .Working.Changed }} *{{ end }}{{ if gt .StashCount 0 }}  {{ .StashCount }}{{ end }} "
},
{
"type": "java",
"style": "plain",
"foreground": "#a6e3a1",
"template": " {{ .Full }} "
},
{
"type": "text",
"style": "plain",
"foreground": "#4fc3ff",
"template": " "
}
]
}
]
}