updated result scoring for better matching with descriptions
This commit is contained in:
parent
864c9b7430
commit
ad26ce2b17
4
fpf
4
fpf
|
@ -70,7 +70,8 @@ Official() {
|
||||||
--info=hidden \
|
--info=hidden \
|
||||||
--ansi \
|
--ansi \
|
||||||
--margin="2%,1%,2%,1%" \
|
--margin="2%,1%,2%,1%" \
|
||||||
--cycle |
|
--cycle \
|
||||||
|
--tiebreak=begin,chunk,length |
|
||||||
awk '{print $1}' |
|
awk '{print $1}' |
|
||||||
sed -e 's/\*$//' |
|
sed -e 's/\*$//' |
|
||||||
xargs -ro sudo pacman -S
|
xargs -ro sudo pacman -S
|
||||||
|
@ -131,6 +132,7 @@ Aur() {
|
||||||
--ansi \
|
--ansi \
|
||||||
--margin="2%,1%,2%,1%" \
|
--margin="2%,1%,2%,1%" \
|
||||||
--cycle \
|
--cycle \
|
||||||
|
--tiebreak=begin,chunk,length \
|
||||||
--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}' |
|
awk '{print $1}' |
|
||||||
|
|
Loading…
Reference in New Issue