Ah, very good. From now on, whenever I want to do that I will simply

echo "cuddlebunny" >.bash_history
... or I will run vi, and :w over .bash_history.

I can see it coming ... you are thinking about a kernel patch.