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 16:35:07 +0000 (17:35 +0100)
commitff3e4ce74664619f0bb68829d235a26ac813c372
tree6cfc58205e68a9e77e3646c51d7d9a3de4096258
parent48acd75827066852820da105e4b895afbf7e99c1
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)
(cherry picked from commit 6db2ae66185d8feffe5a19841cff64835afae136)
shell-completion/bash/systemctl.in
shell-completion/zsh/_systemctl.in