From: Edward Delaporte Date: Wed, 2 Feb 2022 19:50:35 +0000 (-0600) Subject: Oh my Posh profile X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/commitdiff_plain/45bc0420656164c9aa86c64c7443f0cbca26dffc?ds=inline Oh my Posh profile --- diff --git a/oh-my-posh.omp.json b/oh-my-posh.omp.json new file mode 100644 index 0000000..6bfb0bd --- /dev/null +++ b/oh-my-posh.omp.json @@ -0,0 +1,68 @@ +{ + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", + "blocks": [ + { + "type": "prompt", + "alignment": "left", + "segments": [ + { + "type": "session", + "style": "plain", + "foreground": "#ffffff", + "properties": { + "prefix": "<#CB4B16>┏[", + "postfix": "<#CB4B16>]", + "template": "{{ .UserName }}" + } + }, + { + "type": "git", + "style": "plain", + "foreground": "#ffffff", + "properties": { + "prefix": "<#CB4B16>[", + "postfix": "<#CB4B16>]", + "template": "{{ .HEAD }}" + } + }, + { + "type": "root", + "style": "plain", + "foreground": "#ffffff", + "properties": { + "prefix": "<#CB4B16>[", + "postfix": "<#CB4B16>]" + } + }, + { + "type": "exit", + "style": "plain", + "foreground": "#ffffff", + "properties": { + "template": "{{ .Text }}", + "prefix": "<#CB4B16>[x", + "postfix": "<#CB4B16>]" + } + } + ] + }, + { + "type": "prompt", + "alignment": "left", + "newline": true, + "segments": [ + { + "type": "path", + "style": "plain", + "foreground": "#ffffff", + "properties": { + "style": "full", + "prefix": "<#CB4B16>┖[", + "postfix": "<#CB4B16>]>" + } + } + ] + } + ], + "final_space": true +}