added scripts/updated readme
This commit is contained in:
parent
117da9b9bf
commit
3108cb172d
|
@ -1,4 +1,5 @@
|
|||
# fuzzy-pkg-finder
|
||||
|
||||
**Simple cli command for using fzf to search for packages.**
|
||||
For use with Pacman or Yay package managers only.
|
||||
**Simple cli command for using fzf to search and install packages.**\
|
||||
Performs live search by package name and presents full package information.\
|
||||
*For use with Pacman or Yay package managers only.*
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
pacman -Sl | awk '{print $2($4=="" ? "" : " *")}'| fzf -e -m --preview 'cat <(pacman -Si {1}) <(pacman -Fl {1} | awk "{print \$2}")' --layout=reverse | xargs -ro -n1 sudo pacman -S
|
Loading…
Reference in New Issue