[FIX][ZSH] Have C-u delete from the cursor

By default, Zsh deletes the whole line when doing Ctrl+u unlike Bash
which keeps what's after the cursor.
This commit is contained in:
Bruno BELANYI 2019-10-28 21:27:39 +01:00
parent bccda57c46
commit ffe4513deb

View file

@ -33,6 +33,8 @@ unsetopt autocd beep extendedglob notify
bindkey -e
# Fix delete key not working
bindkey "\e[3~" delete-char
# Fix Ctrl+u killing from the cursor instead of the whole line
bindkey \^U backward-kill-line
# Completion configuration
zstyle :compinstall filename '/home/ambroisie/.zshrc'