mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-27 11:59:40 -08:00
theme: the unnamed theme with package and npm versions
This commit is contained in:
parent
458ac80935
commit
6badf926c8
70
themes/the-unnamed.omp.json
Normal file
70
themes/the-unnamed.omp.json
Normal file
|
@ -0,0 +1,70 @@
|
|||
{
|
||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||
"blocks": [
|
||||
{
|
||||
"alignment": "left",
|
||||
"segments": [
|
||||
{
|
||||
"foreground": "#15C2CB",
|
||||
"properties": {
|
||||
"style": "folder",
|
||||
"template": "{{ .Path }} "
|
||||
},
|
||||
"style": "plain",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"foreground": "#F141A8",
|
||||
"properties": {
|
||||
"branch_icon": "\uE0A0 ",
|
||||
"template": "<#F3EFF5>on</> {{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }} "
|
||||
},
|
||||
"style": "plain",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
"type": "project",
|
||||
"style": "plain",
|
||||
"foreground": "#5EADF2",
|
||||
"properties": {
|
||||
"template": "{{if .Version}}<#F3EFF5>is</> \uf487 {{.Version}} {{end}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"foreground": "#44FFD2",
|
||||
"properties": {
|
||||
"fetch_version": true,
|
||||
"template": "<#F3EFF5>via</> \ue718 {{ .Full }} "
|
||||
},
|
||||
"style": "plain",
|
||||
"type": "node"
|
||||
},
|
||||
{
|
||||
"type": "npm",
|
||||
"style": "plain",
|
||||
"foreground": "#FE4A49",
|
||||
"properties": {
|
||||
"template": "<#F3EFF5>and</> \ue71e {{.Full}} "
|
||||
}
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
},
|
||||
{
|
||||
"alignment": "left",
|
||||
"newline": true,
|
||||
"segments": [
|
||||
{
|
||||
"foreground": "#FFE45E",
|
||||
"properties": {
|
||||
"template": "\u276F "
|
||||
},
|
||||
"style": "plain",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
Loading…
Reference in a new issue