Update dotfiles (2026-01-19 19:48:47)
This commit is contained in:
@@ -0,0 +1,228 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||
"async": true,
|
||||
"blocks": [
|
||||
{
|
||||
"alignment": "left",
|
||||
"segments": [
|
||||
{
|
||||
"foreground": "#f8f8f2",
|
||||
"style": "plain",
|
||||
"template": "\u256d\u2500",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"background": "#282a36",
|
||||
"foreground": "#f8f8f2",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"style": "diamond",
|
||||
"template": "{{ .UserName }}",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"background": "#282a36",
|
||||
"foreground": "#ff5555",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"style": "powerline",
|
||||
"template": "\udb85\udc0b",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
"background": "#282a36",
|
||||
"foreground": "#f8f8f2",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"style": "powerline",
|
||||
"template": "{{ .Icon }} ",
|
||||
"type": "os"
|
||||
},
|
||||
{
|
||||
"background": "#bd93f9",
|
||||
"foreground": "#282a36",
|
||||
"properties": {
|
||||
"display_root": true,
|
||||
"style": "full"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " \udb80\ude56 {{ path .Path .Location }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
},
|
||||
{
|
||||
"alignment": "right",
|
||||
"segments": [
|
||||
{
|
||||
"background": "#f1fa8c",
|
||||
"foreground": "#282a36",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"time_format": "15:04:05"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\udb80\udd09 {{ .CurrentDate | date .Format }} \u2022",
|
||||
"type": "time"
|
||||
},
|
||||
{
|
||||
"background": "#f1fa8c",
|
||||
"foreground": "#282a36",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"style": "austin",
|
||||
"threshold": 500
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " \ueba2 {{ .FormattedMs }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "executiontime"
|
||||
},
|
||||
{
|
||||
"background": "#ffb86c",
|
||||
"foreground": "#282a36",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"branch_icon": "",
|
||||
"fetch_status": true,
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue725 ({{ url .UpstreamIcon .UpstreamURL }} {{ url .HEAD .UpstreamURL }}){{ if gt .Ahead 0 }}<#50fa7b> +{{ .Ahead }}</>{{ end }}{{ if gt .Behind 0 }}<#ff5555> -{{ .Behind }}</>{{ end }}{{ if .Working.Changed }}<#f8f8f2> \uf044 {{ .Working.String }}</>{{ end }}{{ if .Staging.Changed }}<#f8f8f2> \uf046 {{ .Staging.String }}</>{{ end }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
"background": "#50fa7b",
|
||||
"foreground": "#282a36",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"cache_duration": "2h"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue718 {{ .Full }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "node"
|
||||
},
|
||||
{
|
||||
"background": "#ff5555",
|
||||
"foreground": "#282a36",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"cache_duration": "2h",
|
||||
"display_mode": "files",
|
||||
"extensions": [
|
||||
"package-lock.json"
|
||||
]
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue71e {{ .Full }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "npm"
|
||||
},
|
||||
{
|
||||
"background": "#ffb86c",
|
||||
"foreground": "#282a36",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"cache_duration": "2h",
|
||||
"display_mode": "files",
|
||||
"extensions": [
|
||||
"pnpm-lock.yaml"
|
||||
]
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\udb80\udec1 {{ .Full }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "pnpm"
|
||||
},
|
||||
{
|
||||
"background": "#50fa7b",
|
||||
"foreground": "#282a36",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"cache_duration": "2h",
|
||||
"display_mode": "files"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue73c {{ .Full }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "python"
|
||||
},
|
||||
{
|
||||
"background": "#ff79c6",
|
||||
"foreground": "#282a36",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"cache_duration": "2h"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue738 {{ .Full }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "java"
|
||||
},
|
||||
{
|
||||
"background": "#8be9fd",
|
||||
"foreground": "#282a36",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"display_mode": "files"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\uf308 {{ .Context }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "docker"
|
||||
},
|
||||
{
|
||||
"background": "#6272a4",
|
||||
"foreground": "#f8f8f2",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"cache_duration": "2h"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue73d {{ .Full }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "php"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
},
|
||||
{
|
||||
"alignment": "left",
|
||||
"newline": true,
|
||||
"segments": [
|
||||
{
|
||||
"foreground": "#f8f8f2",
|
||||
"properties": {
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\u2570\u2500 \u276f\u276f",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
}
|
||||
],
|
||||
"enable_cursor_positioning": true,
|
||||
"final_space": true,
|
||||
"patch_pwsh_bleed": true,
|
||||
"secondary_prompt": {
|
||||
"background": "transparent",
|
||||
"foreground": "#f8f8f2",
|
||||
"template": " \u276f "
|
||||
},
|
||||
"transient_prompt": {
|
||||
"background": "transparent",
|
||||
"foreground": "#f8f8f2",
|
||||
"newline": true,
|
||||
"template": " \u276f\u276f {{ .AbsolutePWD }}\n \u276f "
|
||||
},
|
||||
"upgrade": {
|
||||
"auto": false,
|
||||
"interval": "168h",
|
||||
"notice": false,
|
||||
"source": "cdn"
|
||||
},
|
||||
"version": 3
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||
"upgrade": {
|
||||
"source": "cdn",
|
||||
"interval": "168h",
|
||||
"auto": false,
|
||||
"notice": false
|
||||
},
|
||||
"blocks": [
|
||||
{
|
||||
"type": "prompt",
|
||||
"alignment": "left",
|
||||
"segments": [
|
||||
{
|
||||
"template": "➜ ",
|
||||
"foreground": "#f1184c",
|
||||
"type": "text",
|
||||
"style": "plain"
|
||||
}
|
||||
],
|
||||
"newline": true
|
||||
}
|
||||
],
|
||||
"version": 4
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||
"upgrade": {
|
||||
"source": "cdn",
|
||||
"interval": "168h",
|
||||
"auto": false,
|
||||
"notice": false
|
||||
},
|
||||
"blocks": [
|
||||
{
|
||||
"type": "prompt",
|
||||
"alignment": "left",
|
||||
"segments": [
|
||||
{
|
||||
"template": "➜ ",
|
||||
"foreground": "#f1184c",
|
||||
"type": "text",
|
||||
"style": "plain"
|
||||
}
|
||||
],
|
||||
"newline": true
|
||||
}
|
||||
],
|
||||
"version": 3
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||
"palette": {
|
||||
"os": "#ACB0BE",
|
||||
"pink": "#F5BDE6",
|
||||
"lavender": "#B7BDF8",
|
||||
"blue": "#8AADF4",
|
||||
"wight": "#FFFFFF",
|
||||
"text": "#494D64"
|
||||
},
|
||||
"blocks": [
|
||||
{
|
||||
"alignment": "left",
|
||||
"segments": [
|
||||
{
|
||||
"background": "p:blue",
|
||||
"foreground": "p:wight",
|
||||
"powerline_symbol": "\ue0b4",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"style": "diamond",
|
||||
"template": "{{.Icon}} ",
|
||||
"type": "os"
|
||||
},
|
||||
{
|
||||
"background": "p:blue",
|
||||
"foreground": "p:text",
|
||||
"powerline_symbol": "\ue0b4",
|
||||
"style": "diamond",
|
||||
"template": "pwsh",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"background": "p:pink",
|
||||
"foreground": "p:text",
|
||||
"properties": {
|
||||
"folder_icon": "..\ue5fe..",
|
||||
"home_icon": "~",
|
||||
"style": "agnoster_short"
|
||||
},
|
||||
"powerline_symbol": "\ue0b4",
|
||||
"style": "powerline",
|
||||
"template": " {{ .Path }}",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"background": "p:lavender",
|
||||
"foreground": "p:text",
|
||||
"style": "powerline",
|
||||
"properties": {
|
||||
"branch_icon": "\ue725 ",
|
||||
"cherry_pick_icon": "\ue29b ",
|
||||
"commit_icon": "\uf417 ",
|
||||
"fetch_status": false,
|
||||
"fetch_upstream_icon": false,
|
||||
"merge_icon": "\ue727 ",
|
||||
"no_commits_icon": "\uf0c3 ",
|
||||
"rebase_icon": "\ue728 ",
|
||||
"revert_icon": "\uf0e2 ",
|
||||
"tag_icon": "\uf412 "
|
||||
},
|
||||
"powerline_symbol": "\ue0b4",
|
||||
"template": " {{ .HEAD }}",
|
||||
"type": "git"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 3
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||
"palette": {
|
||||
"os": "#ACB0BE",
|
||||
"pink": "#F5BDE6",
|
||||
"lavender": "#B7BDF8",
|
||||
"blue": "#8AADF4",
|
||||
"wight": "#FFFFFF",
|
||||
"text": "#494D64"
|
||||
},
|
||||
"blocks": [
|
||||
{
|
||||
"alignment": "left",
|
||||
"segments": [
|
||||
{
|
||||
"background": "p:blue",
|
||||
"foreground": "p:wight",
|
||||
"powerline_symbol": "\ue0b4",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"style": "diamond",
|
||||
"template": "{{.Icon}} ",
|
||||
"type": "os"
|
||||
},
|
||||
{
|
||||
"background": "p:blue",
|
||||
"foreground": "p:text",
|
||||
"powerline_symbol": "\ue0b4",
|
||||
"style": "diamond",
|
||||
"template": "{{ .UserName }}",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"background": "p:pink",
|
||||
"foreground": "p:text",
|
||||
"properties": {
|
||||
"folder_icon": "..\ue5fe..",
|
||||
"home_icon": "~",
|
||||
"style": "agnoster_short"
|
||||
},
|
||||
"powerline_symbol": "\ue0b4",
|
||||
"style": "powerline",
|
||||
"template": " {{ .Path }}",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"background": "p:lavender",
|
||||
"foreground": "p:text",
|
||||
"style": "powerline",
|
||||
"properties": {
|
||||
"branch_icon": "\ue725 ",
|
||||
"cherry_pick_icon": "\ue29b ",
|
||||
"commit_icon": "\uf417 ",
|
||||
"fetch_status": false,
|
||||
"fetch_upstream_icon": false,
|
||||
"merge_icon": "\ue727 ",
|
||||
"no_commits_icon": "\uf0c3 ",
|
||||
"rebase_icon": "\ue728 ",
|
||||
"revert_icon": "\uf0e2 ",
|
||||
"tag_icon": "\uf412 "
|
||||
},
|
||||
"powerline_symbol": "\ue0b4",
|
||||
"template": " {{ .HEAD }}",
|
||||
"type": "git"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 3
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||
"palette": {
|
||||
"os": "#ACB0BE",
|
||||
"pink": "#F5BDE6",
|
||||
"lavender": "#B7BDF8",
|
||||
"blue": "#8AADF4",
|
||||
"wight": "#FFFFFF",
|
||||
"text": "#494D64"
|
||||
},
|
||||
"blocks": [
|
||||
{
|
||||
"alignment": "left",
|
||||
"segments": [
|
||||
{
|
||||
"background": "p:blue",
|
||||
"foreground": "p:wight",
|
||||
"powerline_symbol": "\ue0b4",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"style": "diamond",
|
||||
"template": "{{.Icon}} ",
|
||||
"type": "os"
|
||||
},
|
||||
{
|
||||
"background": "p:blue",
|
||||
"foreground": "p:text",
|
||||
"powerline_symbol": "\ue0b4",
|
||||
"style": "diamond",
|
||||
"template": "{{ .UserName }}",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"background": "p:pink",
|
||||
"foreground": "p:text",
|
||||
"properties": {
|
||||
"folder_icon": "..\ue5fe..",
|
||||
"home_icon": "~",
|
||||
"style": "agnoster_short"
|
||||
},
|
||||
"powerline_symbol": "\ue0b4",
|
||||
"style": "powerline",
|
||||
"template": " {{ .Path }}",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"background": "p:lavender",
|
||||
"foreground": "p:text",
|
||||
"style": "powerline",
|
||||
"properties": {
|
||||
"branch_icon": "\ue725 ",
|
||||
"cherry_pick_icon": "\ue29b ",
|
||||
"commit_icon": "\uf417 ",
|
||||
"fetch_status": false,
|
||||
"fetch_upstream_icon": false,
|
||||
"merge_icon": "\ue727 ",
|
||||
"no_commits_icon": "\uf0c3 ",
|
||||
"rebase_icon": "\ue728 ",
|
||||
"revert_icon": "\uf0e2 ",
|
||||
"tag_icon": "\uf412 "
|
||||
},
|
||||
"powerline_symbol": "\ue0b4",
|
||||
"template": " {{ .HEAD }}",
|
||||
"type": "git"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 3
|
||||
}
|
||||
@@ -0,0 +1,125 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||
"async": true,
|
||||
"blocks": [
|
||||
{
|
||||
"type": "prompt",
|
||||
"alignment": "left",
|
||||
"segments": [
|
||||
{
|
||||
"properties": {
|
||||
"style": "mixed"
|
||||
},
|
||||
"leading_diamond": "\u256d\u2500\ue0b6",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"template": "\ue5ff {{ .Path }}",
|
||||
"foreground": "#ffffff",
|
||||
"background": "#29315A",
|
||||
"type": "path",
|
||||
"style": "diamond"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"branch_max_length": 25,
|
||||
"fetch_stash_count": true,
|
||||
"fetch_status": true,
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"leading_diamond": " \ue0b6",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ",
|
||||
"foreground": "#43CCEA",
|
||||
"background": "#29315A",
|
||||
"type": "git",
|
||||
"style": "diamond",
|
||||
"foreground_templates": [
|
||||
"{{ if or (.Working.Changed) (.Staging.Changed) }}#FF9248{{ end }}",
|
||||
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#ff4500{{ end }}",
|
||||
"{{ if gt .Ahead 0 }}#B388FF{{ end }}",
|
||||
"{{ if gt .Behind 0 }}#B388FF{{ end }}"
|
||||
]
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"always_enabled": true
|
||||
},
|
||||
"template": " {{ if gt .Code 0 }}\uf525{{ else }}\uf469{{ end }}",
|
||||
"foreground": "#2e9599",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"type": "exit",
|
||||
"style": "diamond",
|
||||
"foreground_templates": [
|
||||
"{{ if gt .Code 0 }}red{{ end }}"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "prompt",
|
||||
"alignment": "right",
|
||||
"segments": [
|
||||
{
|
||||
"properties": {
|
||||
"always_enabled": true
|
||||
},
|
||||
"template": "\ufbab {{ .FormattedMs }} ",
|
||||
"foreground": "#ffffff",
|
||||
"type": "executiontime",
|
||||
"style": "powerline"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"display_mode": "files",
|
||||
"fetch_package_manager": true,
|
||||
"fetch_version": true,
|
||||
"npm_icon": "<#FE4A49>\ue71e npm</> ",
|
||||
"yarn_icon": "<#44FFD2>\ue6a7 yarn</> "
|
||||
},
|
||||
"template": "{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }}{{ end }} \ue718 {{ .Full }} ",
|
||||
"foreground": "#5fb157",
|
||||
"type": "node",
|
||||
"style": "plain"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"display_mode": "context",
|
||||
"fetch_virtual_env": false
|
||||
},
|
||||
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
||||
"foreground": "#FED142",
|
||||
"type": "python",
|
||||
"style": "plain"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"time_format": "3:04:05 PM"
|
||||
},
|
||||
"template": "{{ .CurrentDate | date .Format }}",
|
||||
"foreground": "#43CCEA",
|
||||
"type": "time",
|
||||
"style": "plain"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "prompt",
|
||||
"alignment": "left",
|
||||
"segments": [
|
||||
{
|
||||
"template": "\u2570\u2500",
|
||||
"foreground": "#29315A",
|
||||
"type": "text",
|
||||
"style": "plain"
|
||||
},
|
||||
{
|
||||
"template": " <#45F1C2><b>{{ .UserName }}</b> <#45F1C2>❯ </>",
|
||||
"foreground": "#CD4277",
|
||||
"type": "text",
|
||||
"style": "plain"
|
||||
}
|
||||
],
|
||||
"newline": true
|
||||
}
|
||||
],
|
||||
"version": 3
|
||||
}
|
||||
@@ -0,0 +1,140 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||
"blocks": [
|
||||
{
|
||||
"alignment": "left",
|
||||
"segments": [
|
||||
{
|
||||
"background": "#29315A",
|
||||
"foreground": "#ffffff",
|
||||
"leading_diamond": "\u256d\u2500\ue0b6",
|
||||
"style": "diamond",
|
||||
"template": "\uf120 {{ .Name }} ",
|
||||
"type": "shell"
|
||||
},
|
||||
{
|
||||
"background": "#29315A",
|
||||
"foreground": "#ffffff",
|
||||
"style": "diamond",
|
||||
"trailing_diamond": "\ue0b4 ",
|
||||
"template": "{{ .Icon }} ",
|
||||
"type": "os"
|
||||
},
|
||||
{
|
||||
"background": "#29315A",
|
||||
"foreground": "#3EC669",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"style": "mixed"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue5ff {{ .Path }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"background": "#29315A",
|
||||
"foreground": "#43CCEA",
|
||||
"foreground_templates": [
|
||||
"{{ if or (.Working.Changed) (.Staging.Changed) }}#FF9248{{ end }}",
|
||||
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#ff4500{{ end }}",
|
||||
"{{ if gt .Ahead 0 }}#B388FF{{ end }}",
|
||||
"{{ if gt .Behind 0 }}#B388FF{{ end }}"
|
||||
],
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"branch_max_length": 25,
|
||||
"fetch_stash_count": true,
|
||||
"fetch_status": true,
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
"foreground": "#2e9599",
|
||||
"foreground_templates": [
|
||||
"{{ if gt .Code 0 }}red{{ end }}"
|
||||
],
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ if gt .Code 0 }}\uf525{{ else }}\uf469{{ end }}",
|
||||
"type": "exit"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
},
|
||||
{
|
||||
"alignment": "right",
|
||||
"segments": [
|
||||
{
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "\ufbab {{ .FormattedMs }} ",
|
||||
"type": "executiontime"
|
||||
},
|
||||
{
|
||||
"foreground": "#5fb157",
|
||||
"properties": {
|
||||
"display_mode": "files",
|
||||
"fetch_package_manager": true,
|
||||
"fetch_version": true,
|
||||
"npm_icon": "<#FE4A49>\ue71e npm</> ",
|
||||
"yarn_icon": "<#44FFD2>\ue6a7 yarn</> "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }}{{ end }} \ue718 {{ .Full }} ",
|
||||
"type": "node"
|
||||
},
|
||||
{
|
||||
"foreground": "#FED142",
|
||||
"properties": {
|
||||
"display_mode": "context",
|
||||
"fetch_virtual_env": false
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
||||
"type": "python"
|
||||
},
|
||||
{
|
||||
"foreground": "#43CCEA",
|
||||
"properties": {
|
||||
"time_format": "3:04:05 PM"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "{{ .CurrentDate | date .Format }}",
|
||||
"type": "time"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
},
|
||||
{
|
||||
"alignment": "left",
|
||||
"newline": true,
|
||||
"segments": [
|
||||
{
|
||||
"foreground": "#29315A",
|
||||
"style": "plain",
|
||||
"template": "\u2570\u2500",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"foreground": "#CD4277",
|
||||
"style": "plain",
|
||||
"template": " <#45F1C2><b>\u26a1</b></><b>{{ .UserName }}</b> <#45F1C2>\u276f </>",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
console_title_template = '{{ .Shell }} in {{ .Folder }}'
|
||||
version = 3
|
||||
final_space = true
|
||||
|
||||
[secondary_prompt]
|
||||
template = '❯❯ '
|
||||
foreground = 'magenta'
|
||||
background = 'transparent'
|
||||
|
||||
[transient_prompt]
|
||||
template = '❯ '
|
||||
background = 'transparent'
|
||||
foreground_templates = ['{{if gt .Code 0}}red{{end}}', '{{if eq .Code 0}}magenta{{end}}']
|
||||
|
||||
[[blocks]]
|
||||
type = 'prompt'
|
||||
alignment = 'left'
|
||||
newline = true
|
||||
|
||||
[[blocks.segments]]
|
||||
style = 'plain'
|
||||
template = '{{ .Path }}'
|
||||
foreground = 'blue'
|
||||
background = 'transparent'
|
||||
type = 'path'
|
||||
|
||||
[blocks.segments.properties]
|
||||
style = 'full'
|
||||
|
||||
[[blocks.segments]]
|
||||
style = 'plain'
|
||||
template = ' {{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}*{{ end }} <cyan>{{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}</>'
|
||||
foreground = 'p:grey'
|
||||
background = 'transparent'
|
||||
type = 'git'
|
||||
|
||||
[blocks.segments.properties]
|
||||
branch_icon = ''
|
||||
commit_icon = '@'
|
||||
fetch_status = true
|
||||
|
||||
[[blocks]]
|
||||
type = 'rprompt'
|
||||
overflow = 'hidden'
|
||||
|
||||
[[blocks.segments]]
|
||||
style = 'plain'
|
||||
template = '{{ .FormattedMs }}'
|
||||
foreground = 'yellow'
|
||||
background = 'transparent'
|
||||
type = 'executiontime'
|
||||
|
||||
[blocks.segments.properties]
|
||||
threshold = 5000
|
||||
|
||||
[[blocks]]
|
||||
type = 'prompt'
|
||||
alignment = 'left'
|
||||
newline = true
|
||||
|
||||
[[blocks.segments]]
|
||||
style = 'plain'
|
||||
template = '❯'
|
||||
background = 'transparent'
|
||||
type = 'text'
|
||||
foreground_templates = ['{{if gt .Code 0}}red{{end}}', '{{if eq .Code 0}}magenta{{end}}']
|
||||
@@ -0,0 +1,74 @@
|
||||
#:schema https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
|
||||
|
||||
version = 2
|
||||
final_space = true
|
||||
console_title_template = '{{ .Shell }} in {{ .Folder }}'
|
||||
|
||||
[[blocks]]
|
||||
type = 'prompt'
|
||||
alignment = 'left'
|
||||
newline = true
|
||||
|
||||
[[blocks.segments]]
|
||||
type = 'path'
|
||||
style = 'plain'
|
||||
background = 'transparent'
|
||||
foreground = 'blue'
|
||||
template = '{{ .Path }}'
|
||||
|
||||
[blocks.segments.properties]
|
||||
style = 'full'
|
||||
|
||||
[[blocks.segments]]
|
||||
type = 'git'
|
||||
style = 'plain'
|
||||
foreground = 'p:grey'
|
||||
background = 'transparent'
|
||||
template = ' {{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}*{{ end }} <cyan>{{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}</>'
|
||||
|
||||
[blocks.segments.properties]
|
||||
branch_icon = ''
|
||||
commit_icon = '@'
|
||||
fetch_status = true
|
||||
|
||||
[[blocks]]
|
||||
type = 'rprompt'
|
||||
overflow = 'hidden'
|
||||
|
||||
[[blocks.segments]]
|
||||
type = 'executiontime'
|
||||
style = 'plain'
|
||||
foreground = 'yellow'
|
||||
background = 'transparent'
|
||||
template = '{{ .FormattedMs }}'
|
||||
|
||||
[blocks.segments.properties]
|
||||
threshold = 5000
|
||||
|
||||
[[blocks]]
|
||||
type = 'prompt'
|
||||
alignment = 'left'
|
||||
newline = true
|
||||
|
||||
[[blocks.segments]]
|
||||
type = 'text'
|
||||
style = 'plain'
|
||||
foreground_templates = [
|
||||
"{{if gt .Code 0}}red{{end}}",
|
||||
"{{if eq .Code 0}}magenta{{end}}",
|
||||
]
|
||||
background = 'transparent'
|
||||
template = '❯'
|
||||
|
||||
[transient_prompt]
|
||||
foreground_templates = [
|
||||
"{{if gt .Code 0}}red{{end}}",
|
||||
"{{if eq .Code 0}}magenta{{end}}",
|
||||
]
|
||||
background = 'transparent'
|
||||
template = '❯ '
|
||||
|
||||
[secondary_prompt]
|
||||
foreground = 'magenta'
|
||||
background = 'transparent'
|
||||
template = '❯❯ '
|
||||
Reference in New Issue
Block a user