I'm not sure about other shells, but BASH uses Control + W to delete text up to the last white space. It would need to be Ctrl + Shift + W.
I'm not sure about other shells, but BASH uses Control + W to delete text up to the last white space. It would need to be Ctrl + Shift + W.