Per directory history for zsh which falls back to a global history