From 075eacaaf95acab1cb2e3cfba6ae755c32b30989 Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Mon, 4 Nov 2024 18:35:51 +0100 Subject: [PATCH] fix(init): use positional parameter instead of being a complete idiot resolves #5804 --- src/cli/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/init.go b/src/cli/init.go index e23dcb89..96410ddb 100644 --- a/src/cli/init.go +++ b/src/cli/init.go @@ -58,7 +58,7 @@ See the documentation to initialize your shell: https://ohmyposh.dev/docs/instal env := &runtime.Terminal{ CmdFlags: &runtime.Flags{ - Shell: shellName, + Shell: args[0], Config: configFlag, Strict: strict, Debug: debug,