diff --git a/.gitmodules b/.gitmodules index d1ce691..ad2795f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "zsh/.config/zsh/plugins/fast-syntax-highlighting"] path = zsh/.config/zsh/plugins/fast-syntax-highlighting url = https://github.com/zdharma/fast-syntax-highlighting.git +[submodule "zsh/.config/zsh/plugins/zsh-autosuggestions"] + path = zsh/.config/zsh/plugins/zsh-autosuggestions + url = https://github.com/zsh-users/zsh-autosuggestions diff --git a/zsh/.config/zsh/plugins/zsh-autosuggestions b/zsh/.config/zsh/plugins/zsh-autosuggestions new file mode 160000 index 0000000..ae315de --- /dev/null +++ b/zsh/.config/zsh/plugins/zsh-autosuggestions @@ -0,0 +1 @@ +Subproject commit ae315ded4dba10685dbbafbfa2ff3c1aefeb490d diff --git a/zsh/.zshrc b/zsh/.zshrc index 06a5359..76d4be9 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -29,6 +29,7 @@ source $HOME/.config/.aliases.local source $HOME/.config/zsh/key-bindings.zsh source $HOME/.config/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh +source $HOME/.config/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh bindkey "^[[H" beginning-of-line bindkey "^[[4~" end-of-line