From 37170eae7d1ab80d7259b6824ca930f6a03a1aee Mon Sep 17 00:00:00 2001 From: memdmp Date: Tue, 27 May 2025 21:16:00 +0200 Subject: feat: packages --- README.md | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 3dd7564..24f8627 100644 --- a/README.md +++ b/README.md @@ -12,21 +12,28 @@ zuwu.zsh (zuwu) is a highly opinionated zsh "plugin" that provides sensible defa ## installation -### from repo +### from package -Run `git clone https://git.estrogen.zone/zuwu.git /tmp/zuwu --depth 1 && cd /tmp/zuwu && ./install.zsh && cd - && rm -rf /tmp/zuwu` +#### alpine -then follow the outputted instructions. +The [alpine-packages.git](https://git.estrogen.zone/alpine-packages.git/) repository on [git.estrogen.zone](https://git.estrogen.zone) contains [a package for zuwu](https://git.estrogen.zone/alpine-packages.git/tree/src/memdmp/zsh-zuwu). In the near future, this package will be provided on a 3rd-party repository of some kind. -> Replace `./install.zsh` with `doas ./install.zsh` or `sudo ./install.zsh` to get a system-wide install +You can build the package yourself; in the cloned repository, assuming [alpine-sdk is installed](https://pkgs.alpinelinux.org/package/edge/main/x86_64/alpine-sdk) and [abuild keys have been setup](https://wiki.alpinelinux.org/wiki/Abuild_and_Helpers#Setting_up_the_build_environment), you can run `FILTER=zsh-zuwu ./build-repo` to build the package, and `doas ./pkg add zsh-zuwu` to install it. The package will, on installation, provide the path needed for the script that configures your `.zshrc`. -### from package +Alternatively, you can install the CI's [Signing Key](https://builds.neobot.systems/alpine/keys/builder@neobot.systems-6834be51.rsa.pub) to `/etc/apk/keys/builder@neobot.systems-6834be51.rsa.pub` and add `https://builds.neobot.systems/alpine/repos/memdmp/` to your `/etc/apk/repos`. Note that this only builds tagged releases from the above repositories.
+Once added, run `apk add zsh-zuwu zsh-fast-syntax-highlighting zsh-autosuggestions` (or just `zsh-zuwu` if you don't want those plugins to be used). -#### alpine +#### arch -The [alpine-packages.git](https://git.estrogen.zone/alpine-packages.git/) repository on [git.estrogen.zone](https://git.estrogen.zone) contains [a package for zuwu](https://git.estrogen.zone/alpine-packages.git/tree/src/memdmp/zsh-zuwu). In the near future, this package will be provided on a 3rd-party repository of some kind. +There are occasional package builds (from [./packaging/arch](./packaging/arch)) available on [Codeberg Packages](https://codeberg.org/dmpmem/-/packages/arch/zsh-zuwu). If you depend on up-to-date zuwu, it is recommended to follow the below instead. + +### from repo + +Run `git clone https://git.estrogen.zone/zuwu.git /tmp/zuwu --depth 1 && cd /tmp/zuwu && ./install.zsh && cd - && rm -rf /tmp/zuwu` + +then follow the outputted instructions. -For now, you can build the package yourself; in the cloned repository, assuming [alpine-sdk is installed](https://pkgs.alpinelinux.org/package/edge/main/x86_64/alpine-sdk) and [abuild keys have been setup](https://wiki.alpinelinux.org/wiki/Abuild_and_Helpers#Setting_up_the_build_environment), you can run `FILTER=zsh-zuwu ./build-repo` to build the package, and `doas ./pkg add zsh-zuwu` to install it. The package will, on installation, provide the path needed for the script that configures your `.zshrc`. +> Replace `./install.zsh` with `doas ./install.zsh` or `sudo ./install.zsh` to get a system-wide install ### when living life dangerously -- cgit v1.2.3