From ae35995c0d858af7ecf648659066b64e89070646 Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Thu, 4 Jul 2024 23:07:36 +0200 Subject: [PATCH] fix(upgrade): enable auto-upgrade on init resolves #5206 --- src/cli/init.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cli/init.go b/src/cli/init.go index 98220f12..fbfbdef0 100644 --- a/src/cli/init.go +++ b/src/cli/init.go @@ -73,6 +73,7 @@ func runInit(shellName string) { shell.Tooltips = len(cfg.Tooltips) > 0 shell.ShellIntegration = cfg.ShellIntegration shell.PromptMark = shellName == shell.FISH && cfg.ITermFeatures != nil && cfg.ITermFeatures.Contains(terminal.PromptMark) + shell.AutoUpgrade = cfg.AutoUpgrade for i, block := range cfg.Blocks { // only fetch cursor position when relevant