diff --git a/bin/executable_prep_zsh b/bin/executable_prep_zsh new file mode 100644 index 0000000..91548c5 --- /dev/null +++ b/bin/executable_prep_zsh @@ -0,0 +1,2 @@ +#!/bin/zsh +sudo pacman -S grml-zsh-config zsh-autosuggestions zsh-completions zsh-syntax-highlighting diff --git a/dot_zshrc.local b/dot_zshrc.local index 98484a1..2391460 100644 --- a/dot_zshrc.local +++ b/dot_zshrc.local @@ -57,6 +57,11 @@ if [ -f /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh ]; th ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=#999' fi +# enable syntax highlighting +if [ -f /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]; then + . /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +fi + # enable command-not-found if installed if [ -f /etc/zsh_command_not_found ]; then . /etc/zsh_command_not_found