From 9d851a27fd3bbef08c1dbef643532800a15e090f Mon Sep 17 00:00:00 2001 From: sstent Date: Sat, 11 Mar 2023 22:54:27 +0000 Subject: [PATCH] added zsh --- home-manager/users/sstent/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home-manager/users/sstent/default.nix b/home-manager/users/sstent/default.nix index 508ab86..a98ccd1 100644 --- a/home-manager/users/sstent/default.nix +++ b/home-manager/users/sstent/default.nix @@ -103,6 +103,11 @@ programs = { autocd = true; defaultKeymap = "viins"; history.expireDuplicatesFirst = true; + initExtra = '' + bindkey '^R' history-incremental-pattern-search-backward + ZSH_AUTOSUGGEST_STRATEGY=(history completion match_prev_cmd) + ''; + initExtraBeforeCompInit = '' # Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. # Initialization code that may require console input (password prompts, [y/n]