From 25405af51b6537393d06006d355a9ada497307a8 Mon Sep 17 00:00:00 2001 From: Don Harper Date: Tue, 10 Oct 2023 22:48:56 -0500 Subject: [PATCH] home | add inputrc to bash.nix --- home/bash.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/home/bash.nix b/home/bash.nix index 3f07e04..984888c 100644 --- a/home/bash.nix +++ b/home/bash.nix @@ -10,4 +10,23 @@ home.file.".bash_profile".source = files/bash/bash_profile; home.file.".bashrc".source = files/bash/bashrc; home.file.".bash_ssh".source = files/bash/bash_ssh; + + programs.readline = { + enable = true; + bindings = { + "\\e[A" = "history-search-backward"; + "\\e[B" = "history-search-forward"; + }; + extraConfig = '' + set input-meta on + set output-meta on + set colored-stats On + set completion-ignore-case On + set completion-prefix-display-length 3 + set mark-symlinked-directories On + set show-all-if-ambiguous On + set show-all-if-unmodified On + set visible-stats On + ''; + }; }