home | add inputrc to bash.nix
This commit is contained in:
parent
9b68f253a8
commit
25405af51b
1 changed files with 19 additions and 0 deletions
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue