fuzzy-pkg-finder/README.md

28 lines
904 B
Markdown
Raw Normal View History

2020-06-12 16:26:56 -05:00
# fuzzy-pkg-finder
2020-06-11 15:17:17 -05:00
2020-06-11 15:26:36 -05:00
**Simple cli command for using fzf to search and install packages.**\
2020-06-11 21:01:56 -05:00
\
2020-06-12 16:26:56 -05:00
Performs live search by package name and presents package information including file list in preview pane. \
2020-06-12 16:29:23 -05:00
Includes fpf systemd timer to keep files database up to date automagically.
\
2020-06-11 21:31:33 -05:00
*For use with Pacman or Yay package managers only.*\
2020-06-12 16:26:56 -05:00
*Entirely inspired by command found at https://wiki.archlinux.org/index.php/Fzf* \
2020-06-12 16:24:15 -05:00
\
2020-06-12 16:29:23 -05:00
Installation:
2020-06-12 16:26:56 -05:00
```bash
2020-06-12 16:24:15 -05:00
git clone https://github.com/ericlay/fuzzy-pkg-finder
cd fuzzy-pkg-finder
makepkg
sudo pacman -U fuzzy-pkg-finder-0.1-1-any.pkg.tar.xz
2020-06-12 16:26:56 -05:00
```
2020-06-12 16:24:15 -05:00
\
2020-06-12 16:29:23 -05:00
After installation completes:
2020-06-12 16:26:56 -05:00
```bash
2020-06-12 16:24:15 -05:00
sudo systemctl enable fpf.timer fpf.service
sudo systemctl start fpf.service fpf.timer
2020-06-12 16:26:56 -05:00
```
2020-06-12 16:24:15 -05:00
\
2020-06-12 16:26:56 -05:00
Usage: \
2020-06-12 16:36:52 -05:00
Invoke `pacfzf` or `yayfzf` commands to search the respective repositories. Press 'Enter' key to select desired package. Follow Pacman/Yay instructions to complete install.
2020-06-12 16:24:15 -05:00