home | add inputrc to bash.nix

This commit is contained in:
Don Harper 2023-10-10 22:48:56 -05:00
parent 9b68f253a8
commit 25405af51b

View file

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