From a5eba400926dff56a2d53f66e7729e0e68f0f70f Mon Sep 17 00:00:00 2001 From: Akash Dubey <101584901+Akash6222@users.noreply.github.com> Date: Fri, 26 May 2023 02:46:10 -0400 Subject: [PATCH] added the cntrl+backspace for deleting the entire word added the cntrl+backspace for deleting the entire word for normal user --- airootfs/etc/skel/.zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/airootfs/etc/skel/.zshrc b/airootfs/etc/skel/.zshrc index f9ac4e7..c4add0d 100644 --- a/airootfs/etc/skel/.zshrc +++ b/airootfs/etc/skel/.zshrc @@ -130,6 +130,11 @@ SAVEHIST=10000 # Use emacs key bindings bindkey -e +# Ctrl+ backspace delets the word + +bindkey '^H' backward-kill-word +bindkey '5~' kill-word + # [PageUp] - Up a line of history if [[ -n "${terminfo[kpp]}" ]]; then bindkey -M emacs "${terminfo[kpp]}" up-line-or-history