readme/usage

This commit is contained in:
Eric Lay 2020-06-24 19:01:12 -05:00
parent 1e11f765f8
commit 10ceaf81cc
2 changed files with 17 additions and 6 deletions

View File

@ -6,7 +6,6 @@ Leverages the power of fzf to search package names and presents complete package
On selection will hand off to Pacman or Yay to complete transaction. \ On selection will hand off to Pacman or Yay to complete transaction. \
\ \
*For use with Pacman or Yay package managers only.*\ *For use with Pacman or Yay package managers only.*\
*Entirely inspired by command found at https://wiki.archlinux.org/index.php/Fzf#Arch_specific_fzf_uses* \
\ \
Installation: Installation:
``` ```
@ -17,10 +16,14 @@ makepkg -sric
\ \
Usage: Usage:
``` ```
Syntax: fpf -[y|h] Syntax: fpf -[a|l|la|R|Ra|h]
Defaults to Pacman if no options passed Defaults to Pacman if no options passed
options: options:
-y Search and install with Yay a Search/List and install from AUR with Yay
-h Print this help screen l Search/List installed packages from official repo
la Search/List installed packages from AUR repo
R Search/List installed packages from official repos for removal
Ra Search/List installed packages from AUR repo for removal
h Print this help screen.
``` ```

12
fpf
View File

@ -6,11 +6,19 @@ Help() {
echo "Use fzf to search and install with Pacman and Yay" echo "Use fzf to search and install with Pacman and Yay"
echo "Defaults to Pacman if no options passed" echo "Defaults to Pacman if no options passed"
echo echo
echo "Syntax: fpf -[y|h]" echo "Syntax: fpf -[a|l|la|R|Ra|h]"
echo echo
echo "options:" echo "options:"
echo echo
echo "y Search and install with Yay" echo "a Search/List and install from AUR with Yay"
echo
echo "l Search/List installed packages from official repo"
echo
echo "la Search/List installed packages from AUR repo"
echo
echo "R Search/List installed packages from official repos for removal"
echo
echo "Ra Search/List installed packages from AUR repo for removal"
echo echo
echo "h Print this help screen." echo "h Print this help screen."
echo echo