How to make yay not to ask the password after the package gets compiled?

Sometimes when I upgrade AUR packages that take too long to compile, I just leave the terminal work in the background and do something else. When I remember that I left it, I see that the time for me to enter the password already passed, so I have to update the package again. Is there any way to solve this? This is specially relevant for me when I have to upgrade several packages.

Read the man page, there’s a config for this.

2 Likes

I have this in my .zshrc:

alias yay='yay --batchinstall --sudoloop'
1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.