From c154881fce685dfb69f2f37ea053ef3e4d6120e6 Mon Sep 17 00:00:00 2001 From: lhark Date: Thu, 19 Jul 2018 15:04:12 -0400 Subject: [PATCH] Switch to fast-syntax-highlighting with submodule instead of dirty copy --- .gitmodules | 3 +++ fast-syntax-highlighting | 1 + zshrc | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 fast-syntax-highlighting diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..bcc926d --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "fast-syntax-highlighting"] + path = fast-syntax-highlighting + url = https://github.com/zdharma/fast-syntax-highlighting diff --git a/fast-syntax-highlighting b/fast-syntax-highlighting new file mode 160000 index 0000000..edf7ac5 --- /dev/null +++ b/fast-syntax-highlighting @@ -0,0 +1 @@ +Subproject commit edf7ac5c1e61c505201385846361fe3c2b69b31b diff --git a/zshrc b/zshrc index d6ea771..03e1d3f 100644 --- a/zshrc +++ b/zshrc @@ -202,4 +202,4 @@ bindkey "^[[Z" reverse-menu-complete # ZSH syntax highlighting : /!\ keep at the bottom ! -source "${RC_PATH}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" +source "${RC_PATH}/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh"