FS#43069 - zsh: systemctl completion prints all units
Attached to Project:
Arch Linux
Opened by Edwin Pujols (edwinpm5) - Wednesday, 10 December 2014, 17:03 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 11 December 2014, 12:13 GMT
Opened by Edwin Pujols (edwinpm5) - Wednesday, 10 December 2014, 17:03 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 11 December 2014, 12:13 GMT
|
Details
Description:
I have compinit and "menu complete" both enabled. If I type `systemctl status net`, then press TAB, I get a wall of text of all available units before the completion menu is presented. I issue seems to be a function being redefined in the file /usr/share/zsh/site-functions}/_systemctl namely, `_systemctl_all_units`. I checked the upstream file and didn't observe this. I have attached a possible fix (renaming one of the functions). Additional info: * Version: 5.0.7-1 * File: /usr/share/zsh/site-functions}/_systemctl Steps to reproduce: 1. Enable compinit and menu complete. 2. Type `systemctl status `. 3. Try completion by pressing TAB key. |
This task depends upon
Closed by Dave Reisner (falconindy)
Thursday, 11 December 2014, 12:13 GMT
Reason for closing: Fixed
Additional comments about closing: testing/systemd-218
Thursday, 11 December 2014, 12:13 GMT
Reason for closing: Fixed
Additional comments about closing: testing/systemd-218
http://cgit.freedesktop.org/systemd/systemd/commit/?id=820aced6f6067a6b7c57b7d36e44f64378870cbf