1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2026-10-24 14:03:50 +08:00

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

This commit is contained in:
Maksym Tymoshyk
2026-08-30 20:10:57 +03:00
committed by GitHub
parent b23f11ce1e
commit 44ce832bbd

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