From b56b0d3ca316395a903ed1c7a040bda0ae321c36 Mon Sep 17 00:00:00 2001 From: claw0ry Date: Wed, 11 Dec 2024 13:58:21 +0100 Subject: fresh start --- oh-my-posh/config.yml | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 oh-my-posh/config.yml (limited to 'oh-my-posh') diff --git a/oh-my-posh/config.yml b/oh-my-posh/config.yml new file mode 100644 index 0000000..77b0b3c --- /dev/null +++ b/oh-my-posh/config.yml @@ -0,0 +1,49 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json +final_space: true +version: 2 +blocks: + - type: prompt + alignment: left + segments: + - type: text + style: plain + foreground: magenta + template: "[{{ .Shell }}]" + - type: python + style: plain + foreground: yellow + template: "[{{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }}{{ end }}{{ end }}]" + - type: path + style: plain + foreground: cyan + properties: + style: letter + - type: git + style: plain + foreground: green + template: "({{ .HEAD }})" + properties: + branch_icon: "" + - type: prompt + alignment: right + segments: + - type: executiontime + style: plain + foreground: 'cyan' + template: "[{{ .FormattedMs }}]" + properties: + style: austin + threshold: 500 + - type: time + style: plain + foreground: yellow + - type: prompt + alignment: left + newline: true + segments: + - type: text + style: plain + template: "$" + foreground: green + foreground_templates: + - '{{ if gt .Code 0 }}red{{ end }}' -- cgit v1.2.3