Conversation
linux question
Show content

Does anyone know how to make yay confirm all prompts by default?

2
0
0
re: linux question
Show content
@schratze you probably don't want that, but you could set up password less sudo (bad idea) and pipe yes into yay
1
0
1
re: linux question
Show content

@schratze @agafnd yes | (the command)

but i’m not sure if it’ll pipe that to the password prompt as well

0
0
0
re: linux question
Show content
@charlotte @schratze yay has `--sudoloop` which runs sudo in the background to keep it from timing out. And if you really want there are these flags you can set up to give a predefined answer. https://github.com/Jguer/yay/blob/next/cmd.go#L84-L87
0
0
1