This question is a result of another thread where Plasma upgrade to ver 6.4 is being discussed.
Typically to update the system using yay the command that is given is $ sudo yay -Syu. Now yay has a config file that is kept either in $XDG_CONFIG_HOME/yay directory or in the $HOME/.config/yay directory. So when yay is run with sudo, as given earlier, which config file will be picked up? The root’s yay config file or the user which executes the sudo file?
And finally can you please give some pointers on the yay config file? Some links or discussion thread which give more details about the structure of the json config file used by yay. I looked at the man pages of yay and they were maddeningly vague about the config file.