From dbb661005d7e6ccc0e33316323d02d60062be9a0 Mon Sep 17 00:00:00 2001 From: Mehdi Sadeghi Date: Wed, 25 May 2022 00:30:19 +0200 Subject: Change prompt to two lines and add nix. --- .inputrc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to '.inputrc') diff --git a/.inputrc b/.inputrc index 7c99c44..fa073e3 100644 --- a/.inputrc +++ b/.inputrc @@ -1,5 +1,9 @@ +$include /etc/inputrc # Key bindings, up/down arrow searches through history -"\e[A": history-substring-search-backward -"\e[B": history-substring-search-forward -"\C-p": history-substring-search-backward -"\C-n": history-substring-search-forward +"\e[A": history-search-backward +"\e[B": history-search-forward +"\eOA": history-search-backward +"\eOB": history-search-forward +Control-k: kill-whole-line +Control-p: history-search-backward +Control-n: history-search-forward -- cgit v1.2.3