The command to clear Terminal’s entire history

Kai Brooks
Jun 15, 2021

That is all.

echo "" > ~/.zsh_history & exec $SHELL -l

And next time don’t put your password on the wrong line.

--

--