systemd-stable icon indicating copy to clipboard operation
systemd-stable copied to clipboard

Tab completion with sudo systemctl hangs up with zsh and oh-my-zsh.

Open danalderman opened this issue 2 years ago • 1 comments

Component

systemctl

Is your feature request related to a problem? Please describe

I think the fix was made in this commit in 254 stable, BICBW.

https://github.com/systemd/systemd-stable/commit/dfc0445cb86e500732125da9f758092641a4c5a2

I have partially tested this by pulling /usr/share/zsh/vendor-completions/_systemctl from a systemd-254 deb in unstable and putting it in place. So far it works as expected but I have not extensively tested it.

Describe the solution you'd like

Back port the zsh fixes to the 252 stable branch so they make it into Debain stable (bookworm) please.

Describe alternatives you've considered

Extracting individual files for /usr/share/zsh/vendor-completions/ from 254 debs from testing.

The systemd version you checked that didn't have the feature you are asking for

252 stable

danalderman avatar Sep 27 '23 13:09 danalderman

Nobody here uses zsh, so if you want backports, you'll have to do it yourself. Use cherry-pick -x, starting from the most recent branch, and down to v252-stable, and send PRs.

bluca avatar Sep 30 '23 10:09 bluca