From 10d12e3ae7691bb97911b01fc794cb09fac26d6d Mon Sep 17 00:00:00 2001 From: Jinks Date: Sun, 9 Jan 2022 15:35:03 +0100 Subject: [PATCH] more zsh --- bin/executable_prep_zsh | 2 ++ dot_zshrc.local | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 bin/executable_prep_zsh 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