From b4de8b182a780ca9321f12f9d758c73023245d89 Mon Sep 17 00:00:00 2001 From: Timothy Huber Date: Wed, 10 Aug 2022 23:37:03 -0400 Subject: [PATCH] theme(tiwahu): shell-specific final prompt chars - Final characters in prompt based on current shell name. --- themes/tiwahu.omp.json | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/themes/tiwahu.omp.json b/themes/tiwahu.omp.json index b23f5b0a..f7a0e310 100644 --- a/themes/tiwahu.omp.json +++ b/themes/tiwahu.omp.json @@ -123,8 +123,19 @@ { "foreground": "#007ACC", "style": "plain", - "template": "\u276f ", - "type": "text" + "template": "{{ .Name }} ", + "type": "shell", + "properties": { + "mapped_shell_names": { + "pwsh": "\u276f", + "cmd": ">", + "lua": ">", + "nu": ">", + "fish": "~>", + "zsh": "%", + "bash": "$" + } + } } ], "type": "prompt"