Pamac is an understandable tool compared with pacman or yay.
But the default behavior of pamac install is N, not Y, and if you want a yes without confirm you need a so-long option --no-confirm.
So will pamac support a short option, such as -y not only --no-confirm. Anyway, -y is a common option for other package managers , such as zypper, yum, dnf or apt.
I suppose this could be implemented in the pamac binary ─ I’m not a developer, but I’ll invite the @Manjaro-Team to come and take a look at this thread ─ but you could create an alias as a wrapper that does exactly that, if you wish.
Add the following to your ~/.bashrc if you use bash as your interactive shell, or to your ~/.zshrc if you use zsh as your interactive shell…
alias pamaciy="pamac install --no-confirm"
You can then use the command pamaciy instead of pamac install, and it won’t ask you for confirmation.
Well, that’s good. I guess. In my opinion, any and all code is flawless, until it’s not…still, well done then!
I’ll keep it handy for now, use it as I go along. But I wouldn’t hold my breath if I were you. I don’t like not knowing what my PC’s up to, so never ever use --no-confirm.