From d5a1050e32aa467bded3f2b718da528a595d7713 Mon Sep 17 00:00:00 2001 From: dabruh <11458706-dabruh@users.noreply.gitlab.com> Date: Sat, 28 May 2022 23:15:34 +0200 Subject: [PATCH] Re-enable autosuggestions. --- .config/zsh/.zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 985746f..ea00008 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -133,6 +133,11 @@ source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zs # Use history substring search source /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh +# Use autosuggestion +source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh +ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE=20 +ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=8' + # bind UP and DOWN arrow keys to history substring search zmodload zsh/terminfo bindkey "$terminfo[kcuu1]" history-substring-search-up