about summary refs log tree commit diff stats
path: root/nix-conf/home/includes/zsh.nix
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2023-01-17 13:19:44 +0000
committerDavid Morgan <djm_uk@protonmail.com>2023-01-17 13:19:44 +0000
commitfb42e8dfce475ed5caf808de37c0879330223874 (patch)
treeb27b52ae8f92cd1338d39f235b9189c6e8706d81 /nix-conf/home/includes/zsh.nix
parentfe4e881156b33d4f6beb7736ae579ec3d7871816 (diff)
downloaddotfiles-fb42e8dfce475ed5caf808de37c0879330223874.tar.gz
Set ZSH_AUTOSUGGEST_STRATEGY
Diffstat (limited to 'nix-conf/home/includes/zsh.nix')
-rw-r--r--nix-conf/home/includes/zsh.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nix-conf/home/includes/zsh.nix b/nix-conf/home/includes/zsh.nix
index fc39509..cc79fb9 100644
--- a/nix-conf/home/includes/zsh.nix
+++ b/nix-conf/home/includes/zsh.nix
@@ -87,7 +87,9 @@ in
 
     localVariables = {
       PER_DIRECTORY_HISTORY_TOGGLE = "^\\\\"; # ^\\ is ^#
-      HISTORY_START_WITH_GLOBAL=true;
+      HISTORY_START_WITH_GLOBAL = true;
+
+      ZSH_AUTOSUGGEST_STRATEGY = ["history" "completion"];
 
       NVM_AUTO_USE = true;
       NVM_LAZY_LOAD = true;