You are not logged in.

#1 2020-05-12 20:21:51

Gr4ve
Member
Registered: 2020-05-12
Posts: 3

Limit results in AUR Helpers (Trizen, yay..)

Hello,
i would like to know if it's possible to limit trizen's (i use it more often than yay) search outputs, like in the screnn provided, i would like to limit results to 20-50 and not 3042 xD

https://ibb.co/fpqxQK1

I have dug a bit into trizen's config file and didn't found anything relevant, neither by searching in google.

Regards,
Gr4ve.

Last edited by Gr4ve (2020-05-12 20:22:06)


Music Games Code - Magic recipe

Offline

#2 2020-05-12 20:40:39

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Limit results in AUR Helpers (Trizen, yay..)

Pipe it to head...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2020-05-14 10:44:35

Gr4ve
Member
Registered: 2020-05-12
Posts: 3

Re: Limit results in AUR Helpers (Trizen, yay..)

jasonwryan wrote:

Pipe it to head...

Well, i could but i don't want to pipe as it makes the interactivity unusable but thanks you ! big_smile


Music Games Code - Magic recipe

Offline

#4 2020-05-14 11:24:08

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,407
Website

Re: Limit results in AUR Helpers (Trizen, yay..)

Make your search criteria more specific.


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#5 2020-05-14 12:04:05

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,452
Website

Re: Limit results in AUR Helpers (Trizen, yay..)

Gr4ve wrote:

Well, i could but i don't want to pipe as it makes the interactivity unusable but thanks you ! big_smile

Ah ... how do you expect it to work?  Yes,`head` will break the interactive prompt, but anything that acheives your goal would effectively break the intent of the interaction.  Use head or other tools to limit the output to get an idea how you may want to adjust your search terms.

If your search terms resulted in thousands of results but only displayed 20, then prompted you for numbers of which ones you wanted to install ... well that'd be rather silly, wouldn't it.  The odds of the packages you actually wanted to install being in the displayed list of 20 would be quite small.

Using more specific search terms is the only way to get a rationally limited list, anything else would just discard a majority of results randomly (or based on sort order, but not on any meaningful criteria).

Last edited by Trilby (2020-05-14 12:06:07)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#6 2020-05-14 14:43:12

Gr4ve
Member
Registered: 2020-05-12
Posts: 3

Re: Limit results in AUR Helpers (Trizen, yay..)

Okay ! Thanks for all your replies, guess i'll follow your advice and search more precisely xD


Music Games Code - Magic recipe

Offline

Board footer

Powered by FluxBB