Skip to content

About

Unofficial Debian packages of five zsh-users projects in a signed apt repository

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

zsh-users-deb

CI Publish SLSA level 3 License: MIT
OpenSSF Best Practices Debian bookworm, trixie, forky and sid

Unofficial Debian packages of five zsh-users projects, from the default branch of each upstream repository:

Package Upstream
zsh-completions zsh-users/zsh-completions
zsh-autosuggestions zsh-users/zsh-autosuggestions
zsh-syntax-highlighting zsh-users/zsh-syntax-highlighting
zsh-history-substring-search zsh-users/zsh-history-substring-search
zsh-antigen zsh-users/antigen

zsh-users-deb-archive-keyring carries the key that signs the apt repository.

The openSUSE Build Service repositories under shells:zsh-users also served Debian, and they have been empty since November 2026 (zsh-users/zsh-syntax-highlighting#998).

Install

The apt repository at https://staticwire.github.io/zsh-users-deb/ serves Debian 12 bookworm, Debian 13 trixie, testing (forky) and sid. CI installs the packages on all four.

Download the key to the path that the keyring package owns:

sudo curl -fsSL -o /usr/share/keyrings/zsh-users-deb-archive-keyring.pgp https://staticwire.github.io/zsh-users-deb/zsh-users-deb-archive-keyring.pgp

gpg --show-keys /usr/share/keyrings/zsh-users-deb-archive-keyring.pgp prints the fingerprint of its primary key, 7E8DE4E00FBAA1849E4C38C6596EEBFC6960D199.

Add the repository:

sudo tee /etc/apt/sources.list.d/zsh-users-deb.sources <<'EOF'
Types: deb
URIs: https://staticwire.github.io/zsh-users-deb/
Suites: /
Signed-By: /usr/share/keyrings/zsh-users-deb-archive-keyring.pgp
EOF

The repository is flat: Suites: / names its root, and the entry has no Components line.

Install the keyring package and the packages you need:

sudo apt update
sudo apt install zsh-users-deb-archive-keyring zsh-completions zsh-autosuggestions zsh-syntax-highlighting zsh-history-substring-search zsh-antigen

The keyring package takes over the downloaded file, and its updates bring new and revoked keys.

Versions read <last tag>+git<commits since the tag>.<commit>-<revision>, as in 0.8.0+git8.e6683f2-1. They sort above the versions of the Debian packages zsh-autosuggestions, zsh-syntax-highlighting and zsh-antigen, so apt upgrades those to the packages here. zsh-completions from the openSUSE Build Service upgrades the same way.

Load

Add the plugins to ~/.zshrc, with zsh-history-substring-search after zsh-syntax-highlighting:

source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source /usr/share/zsh-history-substring-search/zsh-history-substring-search.zsh
bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down

Antigen loads from /usr/share/zsh-antigen/antigen.zsh. Completions of zsh-completions load in every shell that runs compinit, except files that another Debian package installs: /usr/share/doc/zsh-completions/README.Debian lists them.

Verify

GitHub Actions attests the build provenance of every published package from the reusable workflow build.yml. gh checks a downloaded package against it:

apt download zsh-completions
gh attestation verify zsh-completions_*.deb --repo staticwire/zsh-users-deb --signer-workflow staticwire/zsh-users-deb/.github/workflows/build.yml

With --predicate-type https://spdx.dev/Document/v2.3, the same command checks the SPDX SBOM of the build, which names the upstream commit of each package.

About

Unofficial Debian packages of five zsh-users projects in a signed apt repository

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages