fixed -la issue

This commit is contained in:
Eric Lay 2020-06-27 20:52:30 -05:00
parent cfc557bed3
commit afb0986c54
1 changed files with 5 additions and 5 deletions

10
fpf
View File

@ -12,13 +12,13 @@ Help() {
echo
echo "a Search/List and install from AUR with Yay"
echo
echo "l Search/List installed packages from official repo"
echo "l Search/List installed packages from official repo"
echo
echo "la Search/List installed packages from AUR repo"
echo "la Search/List installed packages from AUR repo"
echo
echo "R Search/List installed packages from official repos for removal"
echo "R Search/List installed packages from official repos for removal"
echo
echo "Ra Search/List installed packages from AUR repo for removal"
echo "Ra Search/List installed packages from AUR repo for removal"
echo
echo "h Print this help screen."
echo
@ -69,7 +69,7 @@ Arepo() {
# List installed pkgs from AUR
AurInstalled() {
sort <(pacman -Qqm) > /tmp/aur_installed_packages
echo "$(echo -e ' Select packages to print info\n (use TAB to toggle selection)'; cat /tmp/aur_isntalled_packages)" > /tmp/aur_installed_packages
echo "$(echo -e ' Select packages to print info\n (use TAB to toggle selection)'; cat /tmp/aur_installed_packages)" > /tmp/aur_installed_packages
cat /tmp/aur_installed_packages |fzf -q "$1" -e -m --preview 'cat <(yay -Qi {1}) <(echo "") <(pacman -Ql {1} | awk "{print \$2}")' --preview-window=65%:wrap --layout=reverse --marker='>>' --header-lines=2 --info=hidden --ansi --margin="2%,1%,2%,1%" --cycle | xargs -ro pacman -Qik
}