From 44ce832bbdbbb3115a5c3f3be75cb3e2c705a3e9 Mon Sep 17 00:00:00 2001 From: Maksym Tymoshyk Date: Sun, 30 Aug 2026 20:10:57 +0300 Subject: [PATCH] fix(diagnostics): correct `reserved_words` array name (#14031) --- lib/diagnostics.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/diagnostics.zsh b/lib/diagnostics.zsh index d67e6fab4..29929f3fc 100644 --- a/lib/diagnostics.zsh +++ b/lib/diagnostics.zsh @@ -271,7 +271,7 @@ function _omz_diag_dump_check_core_commands() { unfunction unhash unlimit unset unsetopt vared wait whence where which zcompile zle zmodload zparseopts zregexparse zstyle ) if is-at-least 5.1; then - reserved_word+=( declare export integer float local readonly typeset ) + reserved_words+=( declare export integer float local readonly typeset ) else builtins+=( declare export integer float local readonly typeset ) fi