From 4bc0808515f200ddc8e1bb60c5ec7c7ae8500e0e Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 21 Jan 2017 03:58:13 -0500 Subject: add zsh-autosuggestions --- .gitmodules | 3 +++ zsh/zsh-autosuggestions | 1 + zshrc | 4 ++++ 3 files changed, 8 insertions(+) create mode 160000 zsh/zsh-autosuggestions diff --git a/.gitmodules b/.gitmodules index e12ce6e..4b2973f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -94,3 +94,6 @@ [submodule "vim/bundle/fish"] path = vim/bundle/fish url = https://github.com/dag/vim-fish +[submodule "zsh/zsh-autosuggestions"] + path = zsh/zsh-autosuggestions + url = https://github.com/zsh-users/zsh-autosuggestions diff --git a/zsh/zsh-autosuggestions b/zsh/zsh-autosuggestions new file mode 160000 index 0000000..fedc22e --- /dev/null +++ b/zsh/zsh-autosuggestions @@ -0,0 +1 @@ +Subproject commit fedc22e9bbd046867860e772d7d6787f5dae9d4c diff --git a/zshrc b/zshrc index 06503c4..f646e5a 100644 --- a/zshrc +++ b/zshrc @@ -80,6 +80,10 @@ ZSH_HIGHLIGHT_STYLES[history-expansion]='none' ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='fg=green' ZSH_HIGHLIGHT_STYLES[assign]='fg=cyan' # }}} +# zsh-autosuggestions {{{ +source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh +ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=black,bold' +# }}} # opp {{{ source ~/.zsh/opp/opp.zsh opp_operators+=("e" opp-vi-change) -- cgit v1.2.3-54-g00ecf