From 0feaa5766299016b5e15d2f25a98a811737bbd0a Mon Sep 17 00:00:00 2001 From: Sylvia Crowe Date: Thu, 18 Jan 2024 10:50:26 -0800 Subject: [PATCH] add two readonly variables to the ZshIgnoreVars Readonly variables cannot be reset and attempting to do so causes errors on my machine. The `keymaps` and `widgets` variables caused problems, so they have been added to the list of variables to ignore. --- waveshell/pkg/shellapi/zshapi.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/waveshell/pkg/shellapi/zshapi.go b/waveshell/pkg/shellapi/zshapi.go index 1af49ea33..4c4a8274c 100644 --- a/waveshell/pkg/shellapi/zshapi.go +++ b/waveshell/pkg/shellapi/zshapi.go @@ -52,6 +52,8 @@ var ZshIgnoreVars = map[string]bool{ "TTY": true, "epochtime": true, "langinfo": true, + "keymaps": true, + "widgets": true, "aliases": true, "dis_aliases": true,