Simple cli utility for using fzf to search for/list/install/remove packages.
Go to file
Eric Lay d81662a531
Update readme
2021-07-16 18:54:33 -05:00
LICENSE Add LICENSE 2020-06-11 20:34:13 +00:00
PKGBUILD updated PKGBUILD 2021-07-16 16:36:24 -05:00
README.md Update readme 2021-07-16 18:54:33 -05:00
fpf added fish shell adapt command 2021-07-16 16:13:13 -05:00
fpf.png updated readme 2020-06-28 23:10:23 -05:00
fpff added fish shell adapt command 2021-07-16 16:13:13 -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 or Yay package managers only.

Installation:

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.