From 18c5cf2f0b4dfaedf61727cd998f5e1d8f4b7529 Mon Sep 17 00:00:00 2001 From: Cian Hughes Date: Wed, 18 Feb 2026 16:22:42 +0000 Subject: [PATCH] Added syntax highlighting --- dot_brushrc | 1 + dot_zshrc | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 dot_brushrc diff --git a/dot_brushrc b/dot_brushrc new file mode 100644 index 0000000..85b82c6 --- /dev/null +++ b/dot_brushrc @@ -0,0 +1 @@ +export SHELL="brush-hl" diff --git a/dot_zshrc b/dot_zshrc index 6a88744..20fd214 100644 --- a/dot_zshrc +++ b/dot_zshrc @@ -123,6 +123,14 @@ sysfetch() { fi } +# --- Simple, Self-Bootstrapping Syntax Highlighting --- +ZSH_SH_DIR="$HOME/.local/share/zsh-syntax-highlighting" +if [ ! -d "$ZSH_SH_DIR" ]; then + echo "Cloning zsh-syntax-highlighting..." + git clone --depth 1 https://github.com/zsh-users/zsh-syntax-highlighting.git "$ZSH_SH_DIR" > /dev/null 2>&1 +fi +[ -f "$ZSH_SH_DIR/zsh-syntax-highlighting.zsh" ] && source "$ZSH_SH_DIR/zsh-syntax-highlighting.zsh" + # Starship Prompt if command -v starship >/dev/null 2>&1; then eval "$(starship init zsh)"