Per directory history for zsh, as well as global history, and the ability to toggle between them with ^G.
Here you can share your experience with the project you are suggesting or its comparison with per-directory-history. Optional.
A valid email to send you a verification link when necessary or log in.