From fce5d627a57548453f0b1553b814971cbdf9cf57 Mon Sep 17 00:00:00 2001 From: yfwmaniish Date: Tue, 25 Aug 2026 11:00:51 +0000 Subject: [PATCH] docs: add correct Arch Linux install path The Arch Linux package installs to /usr/share/zsh/plugins/zsh-syntax-highlighting/, not /usr/share/zsh-syntax-highlighting/ as the generic "most Linux distributions" instructions say -- verified against the package's current file listing on archlinux.org. Added a dedicated Arch bullet alongside the existing NetBSD/OpenBSD and Homebrew ones, in both places the distro-specific paths are given. Fixes #967 --- INSTALL.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index 2e1286d..e69dd47 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -42,6 +42,12 @@ Second, enable zsh-syntax-highlighting by sourcing the script. Running this comm echo "source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc ``` +* Arch Linux: + + ```zsh + echo "source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc + ``` + * NetBSD and OpenBSD: ```zsh @@ -60,6 +66,8 @@ Then restart zsh (such as by opening a new instance of your terminal emulator). * On most Linux distributions (except perhaps NixOS): `source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh` +* Arch Linux: +`source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh` * NetBSD and OpenBSD: `source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh`