Add Alpine Linux installation instructions (#131)

This commit is contained in:
Jakub Jirutka 2020-12-14 13:09:56 +01:00 committed by GitHub
parent eeaf8af202
commit ff16bf140c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,16 +59,17 @@ If you would rather not run a script, you can download the binary from the [Rele
<!-- omit in toc --> <!-- omit in toc -->
#### On Linux #### On Linux
| Distribution | Repository | Instructions | | Distribution | Repository | Instructions |
| --------------- | --------------------- | --------------------------------------------------------- | | ----------------- | ----------------------- | --------------------------------------------------------- |
| **Any** | [crates.io] | `cargo install zoxide` | | **Any** | [crates.io] | `cargo install zoxide` |
| **Any** | [Linuxbrew] | `brew install zoxide` | | **Any** | [Linuxbrew] | `brew install zoxide` |
| Arch Linux | [AUR] | `yay -Sy zoxide-bin` | | Alpine Linux Edge | [Alpine Linux Packages] | `apk add zoxide` |
| CentOS | [Copr] | `dnf copr enable atim/zoxide` <br /> `dnf install zoxide` | | Arch Linux | [AUR] | `yay -Sy zoxide-bin` |
| Debian Unstable | [Debian Packages] | `apt install zoxide` | | CentOS | [Copr] | `dnf copr enable atim/zoxide` <br /> `dnf install zoxide` |
| Fedora | [Fedora Packages] | `dnf install zoxide` | | Debian Unstable | [Debian Packages] | `apt install zoxide` |
| NixOS | [nixpkgs] | `nix-env -iA nixpkgs.zoxide` | | Fedora | [Fedora Packages] | `dnf install zoxide` |
| Void Linux | [Void Linux Packages] | `xbps-install -S zoxide` | | NixOS | [nixpkgs] | `nix-env -iA nixpkgs.zoxide` |
| Void Linux | [Void Linux Packages] | `xbps-install -S zoxide` |
<!-- omit in toc --> <!-- omit in toc -->
#### On macOS #### On macOS
@ -200,6 +201,7 @@ eval "$(zoxide init posix --hook prompt)"
- `$_ZO_MAXAGE`: sets the maximum total age after which entries start getting deleted - `$_ZO_MAXAGE`: sets the maximum total age after which entries start getting deleted
- `$_ZO_RESOLVE_SYMLINKS`: when set to `1`, `z add` will resolve symlinks. - `$_ZO_RESOLVE_SYMLINKS`: when set to `1`, `z add` will resolve symlinks.
[Alpine Linux Packages]: https://pkgs.alpinelinux.org/package/edge/community/x86_64/zoxide
[AUR]: https://aur.archlinux.org/packages/zoxide-bin [AUR]: https://aur.archlinux.org/packages/zoxide-bin
[Copr]: https://copr.fedorainfracloud.org/coprs/atim/zoxide/ [Copr]: https://copr.fedorainfracloud.org/coprs/atim/zoxide/
[crates.io]: https://crates.io/crates/zoxide [crates.io]: https://crates.io/crates/zoxide