From 74d51606205fb5b69d734b3365183de703e7b5e9 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:50:03 +0200 Subject: [PATCH] Added zsh-syntax-highlighting Added zsh-syntax-highlighting directly to my config from github --- .gitmodules | 3 +++ .zshrc | 2 +- zsh-syntax-highlighting | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 160000 zsh-syntax-highlighting diff --git a/.gitmodules b/.gitmodules index 58e0738..fefad53 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "zsh-autosuggestions"] path = zsh-autosuggestions url = https://github.com/zsh-users/zsh-autosuggestions +[submodule "zsh-syntax-highlighting"] + path = zsh-syntax-highlighting + url = https://github.com/zsh-users/zsh-syntax-highlighting.git diff --git a/.zshrc b/.zshrc index bd483ec..6397135 100644 --- a/.zshrc +++ b/.zshrc @@ -45,5 +45,5 @@ bindkey "^[[3~" delete-char # Load ; should be last. 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 $HOME/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null source /usr/share/autojump/autojump.zsh 2>/dev/null diff --git a/zsh-syntax-highlighting b/zsh-syntax-highlighting new file mode 160000 index 0000000..6fd92e1 --- /dev/null +++ b/zsh-syntax-highlighting @@ -0,0 +1 @@ +Subproject commit 6fd92e1bbd927119e8fbb2d8f50d4cd9a6bcb6d9