History configuration in zsh, with support for per-user history