Add Config Files
This commit is contained in:
parent
ade387bdb6
commit
f071a73fdb
520 changed files with 45353 additions and 1 deletions
67
.config/ohmyposh/base.json
Normal file
67
.config/ohmyposh/base.json
Normal file
|
@ -0,0 +1,67 @@
|
|||
{
|
||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||
"blocks": [
|
||||
{
|
||||
"alignment": "left",
|
||||
"segments": [
|
||||
{
|
||||
"foreground": "#7dafe9",
|
||||
"properties": {
|
||||
"style": "full"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "{{ .Path }} ",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
},
|
||||
{
|
||||
"alignment": "left",
|
||||
"segments": [
|
||||
{
|
||||
"foreground": "#ff2f00",
|
||||
"background_templates": [
|
||||
"{{ if or (.Working.Changed) (.Staging.Changed) }{{ end }}",
|
||||
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}{{ end }}",
|
||||
"{{ if gt .Ahead 0 }}{{ end }}",
|
||||
"{{ if gt .Behind 0 }}{{ end }}"
|
||||
],
|
||||
"properties": {
|
||||
"branch_icon": "\ue725 ",
|
||||
"fetch_status": true,
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "on {{ .HEAD }} {{ if .Working.Changed }}{{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#ef5350> \uf046 {{ .Staging.String }}</>{{ end }} ",
|
||||
"type": "git"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
},
|
||||
{
|
||||
"alignment": "left",
|
||||
"newline": false,
|
||||
"segments": [
|
||||
{
|
||||
"foreground": "#B48EAD",
|
||||
"foreground_templates": ["{{ if gt .Code 0 }}#ef5350{{ end }}"],
|
||||
"properties": {
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\u276f",
|
||||
"type": "status"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
}
|
||||
],
|
||||
"console_title_template": "{{if .Root}}(Admin){{end}} {{.PWD}}",
|
||||
"transient_prompt": {
|
||||
"foreground": "#B48EAD",
|
||||
"foreground_templates": ["{{ if gt .Code 0 }}#BF616A{{ end }}"],
|
||||
"template": "\u276f "
|
||||
},
|
||||
"version": 2
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue