preexec

I recently learned about a bash hook called preexec. I found it useful for working with the TaskWarrior CLI.

preexec() { clear }

Now whenever I execute a command, terminal will clear itself out before running the command.