From 73ccf329640316f26305e6b0c8dc75956b370237 Mon Sep 17 00:00:00 2001 From: Alen Date: Wed, 13 Sep 2023 00:28:43 +0400 Subject: Add basic PowerShell profile --- dot_alen.omp.yaml | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 dot_alen.omp.yaml (limited to 'dot_alen.omp.yaml') diff --git a/dot_alen.omp.yaml b/dot_alen.omp.yaml new file mode 100644 index 0000000..2caef42 --- /dev/null +++ b/dot_alen.omp.yaml @@ -0,0 +1,75 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json +_anchors: + - <r  + - &rtl  +final_space: true +shell_integration: true +version: 2 +blocks: + - type: prompt + alignment: left + newline: true + segments: + - type: os + style: diamond + background: white + foreground: black + - type: root + style: powerline + powerline_symbol: *ltr + background: red + foreground: yellow + - type: path + style: powerline + powerline_symbol: *ltr + background: blue + foreground: white + - type: git + style: powerline + powerline_symbol: *ltr + background: green + foreground: black + - type: text + style: powerline + powerline_symbol: *ltr + - type: prompt + alignment: right + segments: + - type: executiontime + style: powerline + powerline_symbol: *rtl + invert_powerline: true + background: red + foreground: white + - type: python + style: powerline + powerline_symbol: *rtl + invert_powerline: true + background: blue + foreground: black + - type: session + style: powerline + powerline_symbol: *rtl + invert_powerline: true + background: black + foreground: yellow + - type: time + style: diamond + invert_powerline: true + background: white + foreground: black + - type: prompt + alignment: left + newline: true + segments: + - type: status + style: diamond + trailing_diamond: *ltr + background: green + background_templates: + - "{{ if .Error }}red{{ end }}" + foreground: black + foreground_templates: + - "{{ if .Error }}white{{ end }}" + properties: + always_enabled: true -- cgit 1.4.1-2-gfad0