See [https://github.com/jimhester/per-directory-history]
per-directory-history.zsh
Attach a file by drag & drop or click to upload