about summary refs log tree commit diff stats
path: root/nix-conf
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-09-10 09:45:21 +0100
committerDavid Morgan <djm_uk@protonmail.com>2024-09-10 09:45:21 +0100
commit42f9d7eb0a36c54cf6a99ec19a46eee9a57deeee (patch)
treea4cfb6b0c87e5a8223a2c84fd0525f0653c56102 /nix-conf
parent18f7371f124ad3c019faae124d55f47444a38302 (diff)
downloaddotfiles-42f9d7eb0a36c54cf6a99ec19a46eee9a57deeee.tar.gz
Improve/fix zsh history substring search config
Diffstat (limited to 'nix-conf')
-rw-r--r--nix-conf/home/includes/zsh.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/nix-conf/home/includes/zsh.nix b/nix-conf/home/includes/zsh.nix
index 3fccb0a..569a556 100644
--- a/nix-conf/home/includes/zsh.nix
+++ b/nix-conf/home/includes/zsh.nix
@@ -60,7 +60,10 @@ in
       share = true;
       size = 100000;
     };
-    historySubstringSearch.enable = true;
+    historySubstringSearch = {
+      enable = true;
+      searchUpKey = "$terminfo[kcuu1]";
+    };
 
     profileExtra = ''
       [[ -f ~/.nix-profile/etc/profile.d/nix.sh ]] && . ~/.nix-profile/etc/profile.d/nix.sh