2026-09-10 16:59:11 +03:00
|
|
|
zoxide
|
|
|
|
|
=
|
|
|
|
|
https://github.com/ajeetdsouza/zoxide/archive/refs/tags/v0.10.0.tar.gz
|
|
|
|
|
|
|
|
|
|
``` sh *** build ***
|
|
|
|
|
cargo build --release
|
|
|
|
|
mkdir -p ../bin
|
|
|
|
|
cp -l target/release/zoxide ../bin/
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
``` sh *** config ***
|
|
|
|
|
mkdir -p share/zsh/zshrc-auto.d
|
|
|
|
|
zoxide init zsh > share/zsh/zshrc-auto.d/zoxide.zsh
|
2026-09-10 17:33:37 +03:00
|
|
|
echo "alias cd='z'" >> share/zsh/zshrc-auto.d/zoxide.zsh
|
|
|
|
|
|
2026-09-10 16:59:11 +03:00
|
|
|
cd bin
|
|
|
|
|
cp -l zoxide z
|
|
|
|
|
cp -l z Z
|
2026-09-10 23:21:54 +03:00
|
|
|
pkg run index zoxide
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
``` sh *** index ***
|
|
|
|
|
find /pkg/gnu -name build-script.md -printf '%h\n' | xargs -r zoxide add
|
2026-09-10 16:59:11 +03:00
|
|
|
```
|