I think a message in the postinstall script is the right way to go here, as many other packages do. However I could've also missed that message, as it is a bit overshadowed by the optional dependencies displayed right after. Why not also echo a couple of newlines and maybe some ##### bars to draw attention? As for preventing users from flagging the package, just pin a comment with the instructions. On Sat, 13 Jan 2024 at 01:34, Aaron Liu <aaronliu0130@gmail.com> wrote:
Greetings AUR users, (hmm I sound like an alien)
This package on the AUR called oh-my-zsh-git has been occasionally flagged by people who do not understand that you have to add a line to zshrc to start using it. I suggested a clearer and less suspicious postinstall message, which the package's current maintainer and another user in the comments denied as Arch users should know their system and inspect the PKGBUILD.
The package's maintainer then suggested a counterproposal of shipping a symlink of /usr/bin/ohmyzsh-install to "install.sh", which I presume is the name of the official install script. I don't think we should symlink that to oh-my-zsh-something. At most, it should echo the instructions.
Plus, I think this is a worse solution than simply putting a message in the postinstall on both merits and practicality. No matter how much people try it, there will be less people who try to tab-complete than those who read the postinstall messages, and nowhere in "know your system" do I see "blindly try tab-completions"; not to mention this package's name is oh-my-zsh-git, not ohmyzsh-git. Yes, ohmyzsh is the official name, but I don't expect users to know that. We cannot rely on users having hyphen completions enabled.
This entire exchange occurred in the comments of that package. What do you guys think?
-- Cheers, Aᴀʀᴏɴ