Especially given the inc_append_history option, it is not necessary to set the (default) append_history option.
@@ -5,7 +5,6 @@ fi
HISTSIZE=10000
SAVEHIST=10000
-setopt append_history
setopt extended_history
setopt hist_expire_dups_first
setopt hist_ignore_dups # ignore duplication command history list