diff options
author | Robert Helgesson <robert@rycee.net> | 2020-02-02 00:58:06 +0100 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2020-02-02 01:20:05 +0100 |
commit | a4a07ba996cc74e58aa22772ad69b50670c8b24f (patch) | |
tree | 513b60e6560270c55e6ead5723b4091f5289ec8d /tests/modules/programs/readline | |
parent | 70af3b126a0ca281526e328f32c4009a2804aa21 (diff) |
readline: fix example
Diffstat (limited to 'tests/modules/programs/readline')
-rw-r--r-- | tests/modules/programs/readline/using-all-options.nix | 2 | ||||
-rw-r--r-- | tests/modules/programs/readline/using-all-options.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/modules/programs/readline/using-all-options.nix b/tests/modules/programs/readline/using-all-options.nix index 104d08b8a6a..ab851020c2e 100644 --- a/tests/modules/programs/readline/using-all-options.nix +++ b/tests/modules/programs/readline/using-all-options.nix @@ -7,7 +7,7 @@ with lib; programs.readline = { enable = true; - bindings = { "C-h" = "backward-kill-word"; }; + bindings = { "\\C-h" = "backward-kill-word"; }; variables = { bell-style = "audible"; diff --git a/tests/modules/programs/readline/using-all-options.txt b/tests/modules/programs/readline/using-all-options.txt index da9f7df6847..6b4aef51e69 100644 --- a/tests/modules/programs/readline/using-all-options.txt +++ b/tests/modules/programs/readline/using-all-options.txt @@ -4,7 +4,7 @@ $include /etc/inputrc set bell-style audible set completion-map-case on set completion-prefix-display-length 2 -"C-h": backward-kill-word +"\C-h": backward-kill-word $if mode=emacs "\e[1~": beginning-of-line $endif |