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": " "
}
]
}
]
}

View File

@@ -0,0 +1,50 @@
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"foreground": "lightYellow",
"style": "plain",
"template": "{{ .UserName }} ",
"type": "session"
},
{
"foreground": "cyan",
"options": {
"style": "folder"
},
"style": "plain",
"template": "<#ffffff>in</> {{ .Path }} ",
"type": "path"
},
{
"foreground": "#ff94df",
"options": {
"branch_icon": " <#ff94df><b>\ue0a0 </b></>"
},
"style": "plain",
"template": "<#ffffff>on</> {{ .HEAD }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
"type": "git"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "lightGreen",
"style": "plain",
"template": "\u276f",
"type": "text"
}
],
"type": "prompt"
}
],
"final_space": true,
"version": 4
}