From 997121e3519d893329e225c37976c3c734c73ff9 Mon Sep 17 00:00:00 2001 From: Antonin Ruan Date: Sun, 6 Oct 2024 14:20:13 -1000 Subject: [PATCH] Add more formating for special exit code --- .p10k.omp.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.p10k.omp.yml b/.p10k.omp.yml index aae8465..e6a7ea5 100644 --- a/.p10k.omp.yml +++ b/.p10k.omp.yml @@ -73,6 +73,7 @@ blocks: foreground: "#d70000" properties: always_enabled: true + status_template: "{{ if eq .Code 130 }}INT{{ else if .eq Code 131}}QUIT{{ else if eq .Code 137 }}KILL{{ end }}" - type: python style: plain