From 6cf22e84ccc6b8cc21b661d1f1713a9bb4d1943a Mon Sep 17 00:00:00 2001 From: Paul Wilde Date: Tue, 30 Aug 2022 19:42:21 +0100 Subject: [PATCH] added zsh syntax highlighting --- zsh_install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zsh_install.sh b/zsh_install.sh index 9a16e59..989710b 100644 --- a/zsh_install.sh +++ b/zsh_install.sh @@ -14,10 +14,12 @@ echo Switching Theme sed -i 's/ZSH_THEME=.*/ZSH_THEME="bureau"/' ~/.zshrc echo Enabling Plugins -sed -i 's/plugins=(git)/plugins=(\ngit\nzsh-autosuggestions\n)/' ~/.zshrc +sed -i 's/plugins=(git)/plugins=(\ngit\nzsh-autosuggestions\nzsh-syntax-highlighting)/' ~/.zshrc echo Installing AutoSuggestions zsh -c "git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions" +echo Installing Syntax Highlighting +zsh -c "git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting" echo Running Zsh