Update README

This commit is contained in:
Ajeet D'Souza 2021-02-02 00:11:07 +05:30
parent 1a5d14a825
commit f723dbcad9
2 changed files with 6 additions and 5 deletions

View File

@ -63,12 +63,13 @@ If you would rather not run a script, you can download the binary from the [Rele
| ----------------- | ----------------------- | --------------------------------------------------------- | | ----------------- | ----------------------- | --------------------------------------------------------- |
| **Any** | [crates.io] | `cargo install zoxide` | | **Any** | [crates.io] | `cargo install zoxide` |
| **Any** | [Linuxbrew] | `brew install zoxide` | | **Any** | [Linuxbrew] | `brew install zoxide` |
| Alpine Linux Edge | [Alpine Linux Packages] | `apk add zoxide` | | Alpine Linux | [Alpine Linux Packages] | `apk add zoxide` |
| Arch Linux | [AUR] | `yay -Sy zoxide-bin` | | Arch Linux | [AUR] | `yay -Sy zoxide-bin` |
| CentOS | [Copr] | `dnf copr enable atim/zoxide` <br /> `dnf install zoxide` | | CentOS | [Copr] | `dnf copr enable atim/zoxide` <br /> `dnf install zoxide` |
| Debian Unstable | [Debian Packages] | `apt install zoxide` | | Debian Testing | [Debian Packages] | `apt install zoxide` |
| Fedora | [Fedora Packages] | `dnf install zoxide` | | Fedora | [Fedora Packages] | `dnf install zoxide` |
| NixOS | [nixpkgs] | `nix-env -iA nixpkgs.zoxide` | | NixOS | [nixpkgs] | `nix-env -iA nixpkgs.zoxide` |
| Parrot OS | | `apt install zoxide` |
| Void Linux | [Void Linux Packages] | `xbps-install -S zoxide` | | Void Linux | [Void Linux Packages] | `xbps-install -S zoxide` |
<!-- omit in toc --> <!-- omit in toc -->
@ -207,11 +208,11 @@ 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 [Alpine Linux Packages]: https://pkgs.alpinelinux.org/packages?name=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
[Debian Packages]: https://packages.debian.org/sid/zoxide [Debian Packages]: https://packages.debian.org/testing/admin/zoxide
[DPorts]: https://github.com/DragonFlyBSD/DPorts/tree/master/sysutils/zoxide [DPorts]: https://github.com/DragonFlyBSD/DPorts/tree/master/sysutils/zoxide
[FreshPorts]: https://www.freshports.org/sysutils/zoxide/ [FreshPorts]: https://www.freshports.org/sysutils/zoxide/
[Fedora Packages]: https://src.fedoraproject.org/rpms/rust-zoxide [Fedora Packages]: https://src.fedoraproject.org/rpms/rust-zoxide

View File

@ -9,7 +9,7 @@ fn main() {
let version_info = match git_describe { let version_info = match git_describe {
Some(description) if !description.is_empty() => description, Some(description) if !description.is_empty() => description,
_ => format!("v{}-unknown", env!("CARGO_PKG_VERSION")), _ => format!("v{}", env!("CARGO_PKG_VERSION")),
}; };
println!("cargo:rustc-env=ZOXIDE_VERSION={}", version_info); println!("cargo:rustc-env=ZOXIDE_VERSION={}", version_info);