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 + ''; + }; }