fuzzy-pkg-finder/README.md

1.6 KiB

📦
Fuzzy-pkg-finder

Simple cli utility using fzf to search and install/list/remove packages.

Screenshot

Leverages the power of fzf to search package names and presents complete package information in preview pane.
On selection will hand off to Pacman or Paru/Yay to complete transaction.

For use with Pacman/Yay/Paru package managers only.

Installation:
For Arch and arch-based distros, it is available in the AUR.
Use: paru -S fuzzy-pkg-finder or yay -S fuzzy-pkg-finder

Manual build and install:

git clone https://github.com/ericlay/fuzzy-pkg-finder
cd fuzzy-pkg-finder
makepkg -sric


Usage:

Syntax: fpf -[a|l|la|R|o|h]
Defaults to Pacman if no options passed

Searching for a package:
ex: fpf [pkg name] for official repo search
ex: fpf -a [pkg name] for aur search

options:
-a     Search/List and install from AUR with Yay
-l     Search/List installed packages from official repo
-la    Search/List installed packages from AUR 
-R     Search/List installed packages for removal
-o     Search/List orphaned packages for removal
-h     Print this help screen.


Keybinds:

When browsing AUR or installed Aur pkgs:
'ctrl + p' Will preview the highlighted pkgbuild file
'ctrl + x' Will return to the highlighted pkg info