From deaff85de591da8b0449f6b4ff79e1df3deb323d Mon Sep 17 00:00:00 2001 From: Niklas Kapelle Date: Tue, 18 Jun 2024 21:33:24 +0200 Subject: [PATCH] fixed oh-my-posh promt order --- .config/oh-my-posh/config.toml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.config/oh-my-posh/config.toml b/.config/oh-my-posh/config.toml index b3d8aba..c575082 100644 --- a/.config/oh-my-posh/config.toml +++ b/.config/oh-my-posh/config.toml @@ -37,7 +37,6 @@ type = "prompt" style = "full" home_icon = "~" - [[blocks]] alignment = "right" type = "prompt" @@ -61,6 +60,11 @@ type = "prompt" leading_diamond = "" trailing_diamond = "" template = "󱃾 {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}} " + +[[blocks]] +alignment = "left" +type = "prompt" +newline = true # Newline prompt [[blocks.segments]] @@ -71,10 +75,11 @@ type = "prompt" "{{ if .Error }}p:status_failure{{ end }}", "{{ if not .Error}}p:status_success{{ end }}" ] - template = "\n❯" + template = "❯" [blocks.segments.properties] always_enabled = true + [transient_prompt] foreground = "p:status_success" template = "❯ "