feat(installers): install shell completions and man pages (bat, fd, lsd, rg, watchexec, zoxide)

Install bash/fish/zsh completions from release archive into
pkg_src_dir/share/, and man pages into pkg_src_dir/share/man/man1/.
This commit is contained in:
AJ ONeal
2026-05-14 15:26:50 -06:00
parent 9f28505af7
commit b209bfe46f
10 changed files with 138 additions and 1 deletions
+6
View File
@@ -25,6 +25,12 @@ __init_gh() {
# mv ./gh-*/gh ~/.local/opt/gh-v0.99.9/bin/gh
mv ./"$pkg_cmd_name"*/bin/gh "$pkg_src_cmd"
# install man pages if present
if test -d ./"$pkg_cmd_name"*/share/man; then
mkdir -p "$pkg_src_dir/share"
mv ./"$pkg_cmd_name"*/share/man "$pkg_src_dir/share/man"
fi
}
# pkg_get_current_version is recommended, but (soon) not required