From bf0b269cd8710dbb274ae4bb6c82e2338d046d42 Mon Sep 17 00:00:00 2001 From: Eric Lay Date: Mon, 22 Jun 2020 23:10:20 +0000 Subject: [PATCH] Update fpf --- fpf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fpf b/fpf index c7fcbb0..71936ad 100644 --- a/fpf +++ b/fpf @@ -33,7 +33,7 @@ while getopts ":yh" option; do wget -P /tmp/aur/ https://aur.archlinux.org/packages.gz >/dev/null 2>&1 && gunzip -f /tmp/aur/packages.gz echo "$(tail -n +2 /tmp/aur/packages)" > /tmp/aur/packages sort <(comm -23 <(sort /tmp/aur/packages) <(pacman -Qq | sort)) <(comm -12 <(sort /tmp/aur/packages) <(pacman -Qq | sort) | awk '{print $0" *"}') > /tmp/aur_packages - cat /tmp/aur/packages | fzf -e -m --preview 'cat <(yay -Si {1}) <(yay -Fl {1} | awk "{print \$2}")' --layout=reverse --prompt='Select packages to install (use TAB to toggle selection) > ' | xargs -ro yay -S + cat /tmp/aur_packages | fzf -e -m --preview 'cat <(yay -Si {1}) <(yay -Fl {1} | awk "{print \$2}")' --layout=reverse --prompt='Select packages to install (use TAB to toggle selection) > ' | xargs -ro yay -S clear ;; h) #Usage // Help