summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)