From 1bd6db58307c1945c3b0cabec8d6663730394377 Mon Sep 17 00:00:00 2001 From: Eldar Khurmamatov <74624554+e-khurmamatov@users.noreply.github.com> Date: Tue, 2 May 2023 02:14:34 +0600 Subject: [PATCH] fix(presets): Added ($style) to format in module 'sudo' in Bracketed Segments Preset (#5146) * Fixed error in module 'sudo' There was no ($style) in format. When module enabled this lead to the error [WARN] - (starship::modules::sudo): Error in module `sudo` * Update docs/.vuepress/public/presets/toml/bracketed-segments.toml typo fix Co-authored-by: David Knaack --------- Co-authored-by: David Knaack --- docs/.vuepress/public/presets/toml/bracketed-segments.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/.vuepress/public/presets/toml/bracketed-segments.toml b/docs/.vuepress/public/presets/toml/bracketed-segments.toml index f97b9c12..f18fa1c3 100644 --- a/docs/.vuepress/public/presets/toml/bracketed-segments.toml +++ b/docs/.vuepress/public/presets/toml/bracketed-segments.toml @@ -164,7 +164,7 @@ format = '\[[$symbol($version)]($style)\]' format = '\[[$symbol$environment]($style)\]' [sudo] -format = '\[[as $symbol]\]' +format = '\[[as $symbol]($style)\]' [swift] format = '\[[$symbol($version)]($style)\]'