Reply to https://www.jvt.me/posts/2025/06/26/zsh-no-history/

I have setopt HIST_IGNORE_SPACE in my zsh config which allows me to add a space before a command so it doesn't get added to history. It works great for a single command but might get tedious to do for a whole session.