Take into account that many options have been provided (history -d, the space prefix, even editing .bash_history yourself).
But you request a single key stroke to do this... why? If you enter a password by mistake in your shell, and it gets recorded, then you go and clean up. It's not hard to do. But since you request a simple-and-easy way of doing this, it seems like you do this a lot... which you shouldn't! :-) Now, it is up to you to convince Chet that it is so important to have a simple shortcut to do this. IMO, it isn't. -- Eduardo Bustamante https://dualbus.me/