From 5b3c5833b9f7101649f965f4e226d836dc0b0ae0 Mon Sep 17 00:00:00 2001 From: Felix Tenley Date: Sat, 21 Mar 2020 16:39:56 +0100 Subject: [PATCH] feat(zsh): extend autosuggestions with completion --- home/shell/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/shell/default.nix b/home/shell/default.nix index 13f2038..ab1c066 100644 --- a/home/shell/default.nix +++ b/home/shell/default.nix @@ -44,6 +44,9 @@ in initExtra = with pkgs; '' export KEYTIMEOUT=1 + ZSH_AUTOSUGGEST_USE_ASYNC=1 + ZSH_AUTOSUGGEST_STRATEGY=(history completion) + zmodload zsh/complist zstyle ':completion:*' menu select zstyle ':completion:*' insert-tab false