Mercurial > dotfiles
diff dot_zshrc @ 531:5d57fac601e3
Add zsh autosuggest plugin
author | zegervdv <zegervdv@me.com> |
---|---|
date | Sun, 23 Jan 2022 11:43:54 +0100 |
parents | ee04e4821479 |
children | 22fb4745cb1b |
line wrap: on
line diff
--- a/dot_zshrc Sun Jan 23 11:36:16 2022 +0100 +++ b/dot_zshrc Sun Jan 23 11:43:54 2022 +0100 @@ -3,6 +3,8 @@ source ~/.zsh/zsh-history-substring-search.zsh export HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND='bg=green,fg=black' +source ~/.zsh/zsh-autosuggestions.zsh + export TERM=xterm-256color export LC_ALL=$LANG @@ -67,6 +69,8 @@ bindkey '^p' history-substring-search-up bindkey '^n' history-substring-search-down +bindkey '^ ' autosuggest-accept + export LESS_TERMCAP_mb=$(printf "\e[1;31m") export LESS_TERMCAP_md=$(printf "\e[1;31m") export LESS_TERMCAP_me=$(printf "\e[0m")