fix(upgrade): enable auto-upgrade on init

resolves #5206
This commit is contained in:
Jan De Dobbeleer 2024-07-04 23:07:36 +02:00 committed by Jan De Dobbeleer
parent 23b314879b
commit ae35995c0d

View file

@ -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