From 98aa0593c924e639228d43e8de3df27345ddd08a Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Sun, 7 Sep 2025 04:23:04 +0200 Subject: [PATCH] Added syntax highlighting to shell --- .gitmodules | 3 +++ zsh/custom/plugins/fast-syntax-highlighting | 1 + zsh/dot-zshrc | 1 + 3 files changed, 5 insertions(+) create mode 160000 zsh/custom/plugins/fast-syntax-highlighting diff --git a/.gitmodules b/.gitmodules index c5268dc..b203ca7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,6 @@ [submodule "zsh/custom/plugins/zsh-autopair"] path = zsh/custom/plugins/zsh-autopair url = https://github.com/hlissner/zsh-autopair +[submodule "zsh/custom/plugins/fast-syntax-highlighting"] + path = zsh/custom/plugins/fast-syntax-highlighting + url = https://github.com/zdharma-continuum/fast-syntax-highlighting.git diff --git a/zsh/custom/plugins/fast-syntax-highlighting b/zsh/custom/plugins/fast-syntax-highlighting new file mode 160000 index 0000000..3d574cc --- /dev/null +++ b/zsh/custom/plugins/fast-syntax-highlighting @@ -0,0 +1 @@ +Subproject commit 3d574ccf48804b10dca52625df13da5edae7f553 diff --git a/zsh/dot-zshrc b/zsh/dot-zshrc index b93d16c..76ea40a 100644 --- a/zsh/dot-zshrc +++ b/zsh/dot-zshrc @@ -27,6 +27,7 @@ plugins=( command-not-found dirhistory zsh-autopair + fast-syntax-highlighting ) bindkey -M vicmd "k" up-line-or-beginning-search