From 08257dbbc45cdf39c349c3076c5011c0acf2eb0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C5=A0tefka?= Date: Mon, 8 Jun 2020 18:40:50 +0200 Subject: [PATCH] Added zsh-autosuggestions as git submodule I wasn't able to install zsh-autosuggestions on my ubuntu arm based server, so I added this directlu to my config --- .gitmodules | 3 +++ .zshrc | 2 +- zsh-autosuggestions | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 160000 zsh-autosuggestions diff --git a/.gitmodules b/.gitmodules index 77971d9..58e0738 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "pure"] path = pure url = https://github.com/sindresorhus/pure.git +[submodule "zsh-autosuggestions"] + path = zsh-autosuggestions + url = https://github.com/zsh-users/zsh-autosuggestions diff --git a/.zshrc b/.zshrc index c073088..bd483ec 100644 --- a/.zshrc +++ b/.zshrc @@ -44,6 +44,6 @@ bindkey "^[[3~" delete-char [ -f "$HOME/zsh/aliasrc" ] && source "$HOME/zsh/aliasrc" # Load ; should be last. -source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh 2>/dev/null +source $HOME/zsh/zsh-autosuggestions/zsh-autosuggestions.zsh 2>/dev/null source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null source /usr/share/autojump/autojump.zsh 2>/dev/null diff --git a/zsh-autosuggestions b/zsh-autosuggestions new file mode 160000 index 0000000..ae315de --- /dev/null +++ b/zsh-autosuggestions @@ -0,0 +1 @@ +Subproject commit ae315ded4dba10685dbbafbfa2ff3c1aefeb490d