]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Oh my Posh profile
authorEdward Delaporte <edward@delaporte.us>
Wed, 2 Feb 2022 19:50:35 +0000 (13:50 -0600)
committerEdward Delaporte <edward@delaporte.us>
Wed, 2 Feb 2022 19:50:35 +0000 (13:50 -0600)
oh-my-posh.omp.json [new file with mode: 0644]

diff --git a/oh-my-posh.omp.json b/oh-my-posh.omp.json
new file mode 100644 (file)
index 0000000..6bfb0bd
--- /dev/null
@@ -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
+}