package/zoxide: new package

A smarter cd command. Supports all major shells.

https://github.com/ajeetdsouza/zoxide.git

Signed-off-by: Saeed Kazemi <kazemi.ms@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Saeed Kazemi
2024-03-02 20:12:15 +01:00
committed by Thomas Petazzoni
parent 8d466affdb
commit 93b460a294
5 changed files with 28 additions and 0 deletions

View File

@@ -2820,6 +2820,7 @@ F: package/biosdevname/
N: Saeed Kazemi <kazemi.ms@gmail.com>
F: package/eza/
F: package/procs/
F: package/zoxide/
N: Sam Lancia <sam@gpsm.co.uk>
F: package/lrzip/

View File

@@ -2727,6 +2727,7 @@ comment "Utilities"
source "package/xmlstarlet/Config.in"
source "package/xxhash/Config.in"
source "package/ytree/Config.in"
source "package/zoxide/Config.in"
endmenu
menu "System tools"

11
package/zoxide/Config.in Normal file
View File

@@ -0,0 +1,11 @@
config BR2_PACKAGE_ZOXIDE
bool "zoxide"
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
select BR2_PACKAGE_HOST_RUSTC
help
zoxide is a smarter cd command, inspired by z and autojump.
It remembers which directories you use most frequently, so
you can "jump" to them in just a few keystrokes.
zoxide works on all major shells.
https://github.com/ajeetdsouza/zoxide.git

View File

@@ -0,0 +1,3 @@
# Locally computed
sha256 f2d9b9448516919f6d5cf32a5f154c2dc3a90d9fdf0addab9cd6a7824020befc zoxide-0.9.4-cargo2.tar.gz
sha256 23aa3b08366e4ed6050f3d9950070201802aadbe5675fa1c19f24f4de91cf294 LICENSE

12
package/zoxide/zoxide.mk Normal file
View File

@@ -0,0 +1,12 @@
################################################################################
#
# zoxide
#
################################################################################
ZOXIDE_VERSION = 0.9.4
ZOXIDE_SITE = $(call github,ajeetdsouza,zoxide,v$(ZOXIDE_VERSION))
ZOXIDE_LICENSE = MIT
ZOXIDE_LICENSE_FILES = LICENSE
$(eval $(cargo-package))