shell-completion: systemctl: pass current word to all list_unit*
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 7 Jun 2018 15:24:45 +0000 (16:24 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 11 Jun 2018 16:09:58 +0000 (17:09 +0100)
commit98476dc8b23d3ac7cb7e818a066f519c888ef8ac
tree169eeaefa76482cfb03b65162fbbc0c135033281
parent8a6236e51aea33788f543f79aa611486a17cd612
shell-completion: systemctl: pass current word to all list_unit*

Earlier patch added the current word to the performance critical paths.
Here we add it to every place, for consistency sake.

Suggested-by: Yu Watanabe (yuwata)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
shell-completion/bash/systemctl.in
shell-completion/zsh/_systemctl.in