From 476fd545b56a31d79bd9737d5504c19ad0677da2 Mon Sep 17 00:00:00 2001 From: bretello Date: Mon, 24 Jan 2022 09:57:29 +0100 Subject: [PATCH] zsh: add ZSH_AUTOSUGGEST_STRATEGY --- brethil_dotfile.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/brethil_dotfile.sh b/brethil_dotfile.sh index 7cb57dc..3a1b41b 100755 --- a/brethil_dotfile.sh +++ b/brethil_dotfile.sh @@ -60,6 +60,10 @@ export KEYTIMEOUT=50 # reduce the transition time between vim modes to 0.1s export HISTSIZE=10000000 + +# zsh-autosuggestions config +export ZSH_AUTOSUGGEST_STRATEGY=(history completion) + # less options export LESS='-xRF-j12' # -j12: displays 12 lines before search results with / and ? if [[ "$(command -v bat)" ]]; then