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
This commit is contained in:
parent
2fc57d6306
commit
fce5d627a5
|
|
@ -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
|
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:
|
* NetBSD and OpenBSD:
|
||||||
|
|
||||||
```zsh
|
```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):
|
* On most Linux distributions (except perhaps NixOS):
|
||||||
`source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh`
|
`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:
|
* NetBSD and OpenBSD:
|
||||||
`source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh`
|
`source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh`
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue