shell-completion: fix systemctl set/unset/import-environment
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 5 Jan 2021 11:34:28 +0000 (12:34 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 2 Feb 2021 13:52:53 +0000 (14:52 +0100)
commit6db2ae66185d8feffe5a19841cff64835afae136
tree1c3a4ee94ff10324a382dd6a8d438ec7eba196c2
parentd0a124c0af41078b3046b6bd17b771868f3f6be9
shell-completion: fix systemctl set/unset/import-environment

unset-environment is completed with variable names in the environment block.
set-environment the same, but suffixed with "=".
import-environment is completed with variable names in the client environment.

(cherry picked from commit 341992081b6ece1adba270e239f96c9840884885)
shell-completion/bash/systemctl.in
shell-completion/zsh/_systemctl.in