From fb7f05544953558fe681c1202023ef5deebb28ba Mon Sep 17 00:00:00 2001 From: sawka Date: Wed, 14 Feb 2024 18:21:23 -0800 Subject: [PATCH] do not try to set ZDOTDIR in rcfile (ignore). remove spurious log messages --- waveshell/pkg/shellapi/zshapi.go | 1 + wavesrv/pkg/sstore/sstore.go | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/waveshell/pkg/shellapi/zshapi.go b/waveshell/pkg/shellapi/zshapi.go index ac8000cb9..f2222657b 100644 --- a/waveshell/pkg/shellapi/zshapi.go +++ b/waveshell/pkg/shellapi/zshapi.go @@ -51,6 +51,7 @@ var ZshIgnoreVars = map[string]bool{ "EPOCHREALTIME": true, "SHLVL": true, "TTY": true, + "ZDOTDIR": true, "epochtime": true, "langinfo": true, "keymaps": true, diff --git a/wavesrv/pkg/sstore/sstore.go b/wavesrv/pkg/sstore/sstore.go index 309140e94..a4ef0f2dc 100644 --- a/wavesrv/pkg/sstore/sstore.go +++ b/wavesrv/pkg/sstore/sstore.go @@ -1540,7 +1540,6 @@ func ResetStatusIndicator(screenId string) error { func IncrementNumRunningCmds_Update(update *ModelUpdate, screenId string, delta int) { newNum := ScreenMemIncrementNumRunningCommands(screenId, delta) - log.Printf("IncrementNumRunningCmds_Update: screenId=%s, newNum=%d\n", screenId, newNum) AddUpdate(update, ScreenNumRunningCommandsType{ ScreenId: screenId, Num: newNum, @@ -1549,7 +1548,6 @@ func IncrementNumRunningCmds_Update(update *ModelUpdate, screenId string, delta } func IncrementNumRunningCmds(screenId string, delta int) { - log.Printf("IncrementNumRunningCmds: screenId=%s, delta=%d\n", screenId, delta) update := &ModelUpdate{} IncrementNumRunningCmds_Update(update, screenId, delta) MainBus.SendUpdate(update)