From f93f223f5eabd0b4ed96a9a85294fb2d94946fe4 Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Tue, 22 Nov 2022 13:08:21 +0100 Subject: [PATCH] fix(init): lowercase shellname relates to #3113 --- src/cli/root.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cli/root.go b/src/cli/root.go index a2ae81bc..a85bc56e 100644 --- a/src/cli/root.go +++ b/src/cli/root.go @@ -3,6 +3,7 @@ package cli import ( "fmt" "os" + "strings" "github.com/spf13/cobra" ) @@ -24,7 +25,7 @@ experience, regardless of where you are. For a detailed guide on getting started, have a look at the docs at https://ohmyposh.dev`, Run: func(cmd *cobra.Command, args []string) { if initialize { - runInit(shellName) + runInit(strings.ToLower(shellName)) return } if displayVersion {