From 817a48f66f828433ea80ec449215b524c59cf5b0 Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Thu, 7 Sep 2023 13:32:35 +0200 Subject: [PATCH] .zshrc robustness --- .zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index 7e14780..75d9cb2 100644 --- a/.zshrc +++ b/.zshrc @@ -29,8 +29,8 @@ bindkey '^[[1;5C' forward-word # ctrl + -> bindkey '^[[1;5D' backward-word # ctrl + <- bindkey '^[[5~' beginning-of-buffer-or-history # page up bindkey '^[[6~' end-of-buffer-or-history # page down -bindkey '^[[H' beginning-of-line # home -bindkey '^[[F' end-of-line # end +bindkey "${terminfo[khome]}" beginning-of-line # home +bindkey "${terminfo[kend]}" end-of-line # end bindkey '^[[Z' undo # shift + tab undo last action # enable completion features