feat(pkg): cross-platform package manager support #31
Reference in New Issue
Block a user
Delete Branch "feat/cross-platform-pkg-manager"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
pkg.fishrefactored to auto-detect the system package manager via_fish_deps_detect_pminstead of hard-requiring paru/yay. Install, uninstall, and auto (toggle) modes now dispatch correctly for paru, yay, pacman, apt, dnf, zypper, yum, brew, and pkg. Package installed-checks use the right query tool per PM (pacman -Qi,dpkg -s,rpm -q,brew list,pkg info)._fish_deps_detect_pmupdated to includezypper(OpenSUSE) in its detection priority list.claude.fishremoved — remote-control is now enabled directly in the Claude Code config, making the shell wrapper redundant.pkgdescription no longer reference Arch/paru/yay exclusively;searchandupgraderetain their existing Arch-only notes.Manual Verification
pkg <some-package>in auto mode and confirm it installs/removes via paru/yay as expectedpkg -i <package>andpkg -u <package>to confirm force-install and force-uninstall modes workpkg -hand confirm the help output shows the detected PM name (e.g.Install or remove packages via paru.)pkgfalls through to the next detected PM (e.g.pacman,apt) rather than erroring with "no AUR helper found"fish-deps installstill works as before (the detect_pm change is additive — zypper is appended before yum)