After reading #systemd v256 rc changelog, I got very hyped for run0 (simple replacement for basic sudo or doas). But after verifying the code, I understood it misses bash completion. For me this would be sad and even degrade the usage.

So the best way to fix it is of course to add it myself. On the same note, check which other commands miss shell completion, and add them.

Not high impact contribution to a project I use, but every small bit counts.

https://github.com/systemd/systemd/pull/32510

shell-completions: add bash completion for run0 & systemd-vpick by arthurzam · Pull Request #32510 · systemd/systemd

After the merge of #32494, and adding some more completions for new v256 commands, I noticed I forgot to include it in meson.build, resulting in it not being installed, so in this PR I fix my mista...

GitHub
@arthurzam I've always been wondering - does each shell etc. use its own implementations of shell completions?
@arthurzam and I've always been wondering where as a zsh user I'd report the issue that an alias like this does not tab-complete directories (anymore - I think it used to):
`$ alias rmpv='function _rmpvfunc(){ mpv -playlist <(bash -c "TYPES=\"mp3 ogg flac mp4 wmv mkv avi AVI\"; for type in \$TYPES; do find \"$1\" -name \"*.\$type\"; done" | shuf --random-source /dev/urandom | while read i; do echo $(cd "$(dirname "$i")"; pwd)/$(basename $i); done) };_rmpvfunc'

@T_X I recommend you start with verifying if it ever worked for you in previous versions of zsh. Do something like binary search of versions and see if it ever worked.

As for where to report stuff, based on the sourceforge project page, it looks like reports are done through the mailing list, so I recommend you look at https://www.zsh.org/mla/

Zsh mailing list archive

@T_X Let me start from disclaimer, I'm mainly bash user, with rare attempts to use zsh and fish.

From my experience, both zsh and fish support using bash completion files (need to enable that option), but it would be in "degraded" mode, meaning worse experience than specialized completion files.

For example looking at zsh completion files, I see you can add "help" text, so I suspect instead of just seeing completion for "--arg --target", you can see the help message explaining the argument role.

Bash is much more conservative with it's UX, but well, it is the most portable shell across random LInux machines and server, which is why I use bash - so I'm nearly always comfortable with what I meet. Also, Gentoo's ebuild are written in bash.