I’ve modestly tested yay and paru and from my testing this month the only thing I like better about paru is it’s color diffpager (that might be the wrong word? syntax highlighting maybe?) is nicer looking compared to yay show diffs, which is mostly just white and green text, arguably it’s prettier and easier to read diffs in paru. Is there any way(s) to change yay to make the colors look (more) like paru when showing the diffs during a yay AUR update?
I asked Gemini AI this same question, but with AI hallucinations I can simply never trust their outputs without verifying. It did say to do this: yay --save --diffpager "bat --style=changes --color=always --language=diff" but there is no diffpager in yay config.json file and I saw no mention of a 'diffpager" on the yay github page, so I figure this is a hallucination. It also recommended trying this: git config --global core.pager "bat --style=changes --color=always" but I don’t know enough to know if this is what I am looking for.
Does anyone know if there are ways to make yay a bit more easier to read in terms of colors? Or get it to a likeness similar to paru colors when showing diffs? Or just use yay for everything and just use paru for PKGBUILDs? Just curious, as I’d like to just use only one ideally, but I just couldn’t get used to the other ways paru functions, I’m already used to the way yay does things. I also prefer yay as I find the maintainer is a bit more active and responsive to the community, as seen in a quick response to the AUR malware issues from earlier this month.
Also, I’ll add my .config.json file because I think it might be too aggressively cleaning my yay cache so it might make it difficult for me to view diffs if the yay cache is always empty of pkgbuilds. Please also let me know if I need to change anything in this config as I would like to keep yay useful.
{
"aururl": "https://aur.archlinux.org",
"aurrpcurl": "https://aur.archlinux.org/rpc?",
"buildDir": "/home/scott/.cache/yay",
"editor": "nano",
"editorflags": "",
"makepkgbin": "makepkg",
"makepkgconf": "",
"pacmanbin": "pacman",
"pacmanconf": "/etc/pacman.conf",
"redownload": "no",
"answerclean": "",
"answerdiff": "All",
"answeredit": "",
"answerupgrade": "",
"gitbin": "git",
"gpgbin": "gpg",
"gpgflags": "",
"mflags": "",
"sortby": "",
"searchby": "name-desc",
"gitflags": "",
"removemake": "yes",
"sudobin": "sudo",
"sudoflags": "",
"version": "12.6.0",
"requestsplitn": 150,
"completionrefreshtime": 7,
"maxconcurrentdownloads": 5,
"bottomup": true,
"sudoloop": true,
"devel": false,
"cleanAfter": true,
"keepSrc": false,
"provides": true,
"pgpfetch": true,
"cleanmenu": true,
"diffmenu": true,
"editmenu": true,
"combinedupgrade": true,
"useask": false,
"batchinstall": false,
"singlelineresults": false,
"separatesources": true,
"debug": false,
"rpc": true,
"doubleconfirm": true,
"rebuild": "no"
}