fix(diagnostics): correct reserved_words array name (#14031)

This commit is contained in:
Maksym Tymoshyk
2026-08-30 19:10:57 +02:00
committed by GitHub
parent b23f11ce1e
commit 44ce832bbd
+1 -1
View File
@@ -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