There’s a strange problem with sudo not sourcing /root/.zshrc since this upgrade. Which means that my $PATH variable isn’t being set so I can run locally-written scripts with sudo unless I specify the full path.
The problem seems not to be with sudo itself, as downgrading it makes no difference. I’ve raised a support thread for this.
https://forum.manjaro.org/t/strange-issue-with-sudo-after-update-2024-10-10/169540
[Edit]: solved! This was because /etc/sudoers now has Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/bin" uncommented. Commenting it out fixes the problem.
[Edit 2]: a better solution is to set the path I want in a similar line in a file in /etc/sudoers.d