Simple cli utility for using fzf to search for/list/install/remove packages.
Go to file
airclay ae291bb2db paru support 2021-07-27 14:18:36 -05:00
LICENSE Add LICENSE 2020-06-11 20:34:13 +00:00
PKGBUILD paru support 2021-07-27 14:18:36 -05:00
README.md paru support 2021-07-27 14:18:36 -05:00
fpf paru support 2021-07-27 14:18:36 -05:00
fpf.png updated readme 2020-06-28 23:10:23 -05:00
fpff paru support 2021-07-27 14:18:36 -05:00

README.md

📦
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 Yay to complete transaction.

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

Installation:
Arch and arch-based distros, it is available in the AUR.
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


Fish shell users:
Use alternate fpff command instead. (fuzzy-pkg-finder-fish)
Same script just adapted the bash-isms so the preview window will work.