How to delete zsh history?

How to delete zsh history forever?
I tried history -p, but it doesn’t delete history forever.

rm ~/.zhistory

check for a hidden directory in your home folder


1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.