added zsh syntax highlighting

This commit is contained in:
Paul Wilde 2022-08-30 19:42:21 +01:00
parent 0b576c7276
commit 6cf22e84cc

View file

@ -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