summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2017-01-21 03:58:13 -0500
committerJesse Luehrs <doy@tozt.net>2017-01-21 06:37:31 -0500
commit4bc0808515f200ddc8e1bb60c5ec7c7ae8500e0e (patch)
tree0f0459f4f087e65a4106c4a9df06273e27f29986
parent07b0f1bb57d98567ef221b9d0b57386fddbdcdb1 (diff)
downloadconf-4bc0808515f200ddc8e1bb60c5ec7c7ae8500e0e.tar.gz
conf-4bc0808515f200ddc8e1bb60c5ec7c7ae8500e0e.zip
add zsh-autosuggestions
-rw-r--r--.gitmodules3
m---------zsh/zsh-autosuggestions0
-rw-r--r--zshrc4
3 files changed, 7 insertions, 0 deletions
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
+Subproject fedc22e9bbd046867860e772d7d6787f5dae9d4
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)