ericlay / fuzzy-pkg-finder

Simple cli utility for using fzf to search for/list/install/remove packages.
GNU General Public License v3.0
28 stars 2 forks source link

[feature request] Add option to also fzf the Description of Packages #5

Closed cocoonkid closed 1 year ago

cocoonkid commented 1 year ago

[feature request] Add option to also fzf the Description of Packages.

This would be so helpful!

ericlay commented 1 year ago

This would be very useful. Right now the script just does some sorting from pacman results and then the preview window uses pacman files database commands for the highlighted line or package.

There would need to be a way to include the description with the package name as fzf itself simply presents, searches/matches and selects list items for hand off. An ugly option would be to zipper the description into the package list.

It's def worth looking into.

ericlay commented 1 year ago

So I've solved the flow of it and am working it out in psuedo code. I've created a dev branch to actually totally rebase a lot of the script using gawk, adding description searching to aur as well. In the mean time, if you swap line 58 (or entire file) as seen in this commit , the standard repo's will have search-able descriptions!

ericlay commented 1 year ago

@cocoonkid :+1: