@astruckm Yup, this works, thanks for pointing this out.
I found this a bit convoluted due to the use of the spacebar and the second confirmation screen, but it works overall so feel free to close this issue.
Ideally, I would still like to have a faster/easier way to execute this action to clear history but I will open a separate suggestion post for that.