zsh

sane ctrl+u behavior

Add the following line to your .zshrc to make it behave like readline when you hit ctrl+u:

bindkey \^U backward-kill-line