history | grep <command>
~/.zsh_history
history -d <line-number>
sed -i '' '/<command>/d' ~/.zsh_history
killall -SIGUSR1 zsh