From 7ab475c799f0a830e263bc5ae95a455a78f7d9c0 Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Thu, 1 Aug 2024 09:01:08 +0200 Subject: [PATCH] feat(zsh): add auto-suggestions plugin --- zsh/plugins | 1 + zsh/rc | 3 +++ 2 files changed, 4 insertions(+) diff --git a/zsh/plugins b/zsh/plugins index 29134b6..eb44107 100644 --- a/zsh/plugins +++ b/zsh/plugins @@ -1,2 +1,3 @@ zsh-users/zsh-completions +zsh-users/zsh-autosuggestions zsh-users/zsh-syntax-highlighting # leave this last diff --git a/zsh/rc b/zsh/rc index fd1152c..9c70a00 100644 --- a/zsh/rc +++ b/zsh/rc @@ -86,6 +86,9 @@ source "${_here}/completion" # Plugins # ########### +export ZSH_AUTOSUGGEST_STRATEGY=(history completion) +export ZSH_AUTOSUGGEST_MANUAL_REBIND=true + _antidote="${_cache_dir}/antidote" _plugins="${_here}/plugins" _plugins_cache="${_cache_dir}/plugins"