It's only a very small annoyance, but when I login with ssh into a zsh session, I get this error message:
/usr/share/defaults/etc/profile.d/50-history.sh:5: command not found: shopt
I think this line in 50-history.sh:
shopt -s histappend
should look something like this, maybe:
if [[ "$SHELL" == */zsh ]]; then
setopt append_history
else
shopt -s histappend
fi