From 062da36145084eb600a81be0d7220cbb82d3eb64 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Wed, 17 Feb 2021 23:46:25 -0800 Subject: [PATCH] Add zsh-autosuggestions --- dotfiles/zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dotfiles/zshrc b/dotfiles/zshrc index 7614439..963bd2e 100755 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -119,6 +119,10 @@ if [[ $- == *i* ]] ; then bindkey -M vicmd 'k' history-substring-search-up bindkey -M vicmd 'j' history-substring-search-down fi + # Suggestions + if test -f /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh ; then + source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh + fi fi # End interactive-only block # In case ack is named ack-grep