72904c318c
GitOrigin-RevId: 9bf1f40af124573a54fd208b1f539eb694ef31a6
31 lines
542 B
Nix
31 lines
542 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
config = {
|
|
programs.readline = {
|
|
enable = true;
|
|
|
|
bindings = { "\\C-h" = "backward-kill-word"; };
|
|
|
|
variables = {
|
|
bell-style = "audible";
|
|
completion-map-case = true;
|
|
completion-prefix-display-length = 2;
|
|
};
|
|
|
|
extraConfig = ''
|
|
$if mode=emacs
|
|
"\e[1~": beginning-of-line
|
|
$endif
|
|
'';
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileContent \
|
|
home-files/.inputrc \
|
|
${./using-all-options.txt}
|
|
'';
|
|
};
|
|
}
|