Which shortcut in Zsh does the same as Ctrl-U in Bash?

Viewed 8105

In Bash, when I am typing a command, I press Ctrl+U, all characters from the beginning of the line to the cursor are going to be removed. However, in zsh, if I pressed Ctrl+U, the whole line is gone.

How to do the same in Zsh as in Bash?

1 Answers
Related