Dev #6

Merged
ericlay merged 9 commits from dev into master 2023-03-29 15:11:28 -05:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit 7749aa9fe9 - Show all commits

2
fpf
View File

@ -75,6 +75,7 @@ Official() {
--ansi \ --ansi \
--margin="2%,1%,2%,1%" \ --margin="2%,1%,2%,1%" \
--cycle | --cycle |
awk '{print $1}' |
sed -e 's/\*$//' | sed -e 's/\*$//' |
xargs -ro sudo pacman -S xargs -ro sudo pacman -S
} }
@ -148,6 +149,7 @@ Aur() {
--cycle \ --cycle \
--bind=ctrl-p:preview:'curl --silent https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD\?h={1}' \ --bind=ctrl-p:preview:'curl --silent https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD\?h={1}' \
--bind=ctrl-x:preview:'cat <(yay -Si {1} 2>/dev/null || paru -Si {1}) <(pacman -Ql {1} 2>/dev/null | awk "{print \$2}")' | --bind=ctrl-x:preview:'cat <(yay -Si {1} 2>/dev/null || paru -Si {1}) <(pacman -Ql {1} 2>/dev/null | awk "{print \$2}")' |
awk '{print $1}' |
sed -e 's/\*$//' | sed -e 's/\*$//' |
xargs -ro $AHELPR -S xargs -ro $AHELPR -S
} }