shell-completion: revert c1072f6473bafa063cbf700c86524083d2857031
authorEric Cook <llua@gmx.com>
Wed, 16 Jun 2021 19:35:12 +0000 (15:35 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 20 Jul 2021 15:53:20 +0000 (17:53 +0200)
fixing https://github.com/systemd/systemd/issues/19689

(cherry picked from commit 682e043c42fe3ac0fee4ce727458aaeb0e638589)
(cherry picked from commit 2683e7a16024506b203092208ca1d28b953a111a)

21 files changed:
shell-completion/zsh/_bootctl
shell-completion/zsh/_busctl
shell-completion/zsh/_coredumpctl
shell-completion/zsh/_hostnamectl
shell-completion/zsh/_journalctl
shell-completion/zsh/_kernel-install
shell-completion/zsh/_localectl
shell-completion/zsh/_loginctl
shell-completion/zsh/_machinectl
shell-completion/zsh/_networkctl
shell-completion/zsh/_resolvectl
shell-completion/zsh/_systemctl.in
shell-completion/zsh/_systemd
shell-completion/zsh/_systemd-analyze
shell-completion/zsh/_systemd-delta
shell-completion/zsh/_systemd-inhibit
shell-completion/zsh/_systemd-nspawn
shell-completion/zsh/_systemd-run
shell-completion/zsh/_systemd-tmpfiles
shell-completion/zsh/_timedatectl
shell-completion/zsh/_udevadm

index 9e024da3418328951e5e33625101264d47e8d18a..2b50f307f1f458139d693759c149ceef4b720b13 100644 (file)
@@ -1,4 +1,4 @@
-#compdef bootctl                    -*- shell-script -*-
+#compdef bootctl
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
 __bootctl() {
index 8085d5ad114d8ea593f0ab2cfc80e2c4906b2e0f..ae87ddc9a16ff76db025aba901f4595b73ce29ba 100644 (file)
@@ -1,4 +1,4 @@
-#compdef busctl                    -*- shell-script -*-
+#compdef busctl
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
 # busctl(1) completion                               -*- shell-script -*-
index 54e935330f5e3046275292bf1016d1e6a76ec32d..ae62e50f3a4f0d9b4da7ae3a42e9117efe0276d2 100644 (file)
@@ -1,4 +1,4 @@
-#compdef coredumpctl                    -*- shell-script -*-
+#compdef coredumpctl
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
 (( $+functions[_coredumpctl_commands] )) ||
index d05c46bd43645e8338bdbe99e5047c2eb17eed2d..47c868c83996653dd0f0282e1eed94317366cfc7 100644 (file)
@@ -1,4 +1,4 @@
-#compdef hostnamectl                    -*- shell-script -*-
+#compdef hostnamectl
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
 (( $+functions[_hostnamectl_set-hostname] )) ||
index 848c4fa1be0a0566096a4479e3d7be61fd6f4f01..90d7579cce5c46006525396879070cf0ea82d065 100644 (file)
@@ -1,4 +1,4 @@
-#compdef journalctl                    -*- shell-script -*-
+#compdef journalctl
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
 (( $+functions[_journalctl_fields] )) ||
index b0dd824356dab4393ea44ac18eb367edd8e12ca9..cb2565db7a3865698c250e777c96fc988c84586d 100644 (file)
@@ -1,4 +1,4 @@
-#compdef kernel-install                    -*- shell-script -*-
+#compdef kernel-install
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
 (( $+functions[_kernel-install_images] )) ||
index 851ac8253b0342aef1c3d290985e59ac1e67f9ea..23422a9a4e61070aad2a20056dca5594ededc03c 100644 (file)
@@ -1,4 +1,4 @@
-#compdef localectl                    -*- shell-script -*-
+#compdef localectl
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
 (( $+functions[_localectl_set-locale] )) ||
index 50c192daad1c63ee752e895f50c134e884d6af3b..6478a52fe4ac975667e2a96cb9873056c5a69cbd 100644 (file)
@@ -1,4 +1,4 @@
-#compdef loginctl                    -*- shell-script -*-
+#compdef loginctl
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
 (( $+functions[_loginctl_all_sessions] )) ||
index 9a4a32e627c639df6265f219197e7c36643630f5..8f4e57f123c2c436cee2f7ad065ad3ac0bd838d8 100644 (file)
@@ -1,4 +1,4 @@
-#compdef machinectl                    -*- shell-script -*-
+#compdef machinectl
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
 (( $+functions[__machinectl_get_machines] )) ||
index 165c5411becb8bf20c08a6cad0f873d21a4e968c..7d4dd96682f7c773d6e556ee10251bdf76ed2ce7 100644 (file)
@@ -1,4 +1,4 @@
-#compdef networkctl                    -*- shell-script -*-
+#compdef networkctl
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
 (( $+functions[_networkctl_commands] )) ||
index 8a50fbdbbec46e10a7000363f75320311c74d298..eafc1ff42a2b693973493bf2f6e54692ea2bb9c2 100644 (file)
@@ -1,4 +1,4 @@
-#compdef resolvectl systemd-resolve         -*- shell-script -*-
+#compdef resolvectl systemd-resolve
 # SPDX-License-Identifier: LGPL-2.1-or-later
 #
 # This file is part of systemd.
index 7350f658a7ee5d1f35ade97fd68d5ed2b38f36fa..499896ede1d9ba4febeb3d2a58196b312ef4cbee 100644 (file)
@@ -1,4 +1,4 @@
-#compdef systemctl                    -*- shell-script -*-
+#compdef systemctl
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
 (( $+functions[_systemctl_commands] )) || _systemctl_commands()
index 5a8af1c918a73c8db93b6b83d18ce5481d3e088e..863631571efe168e775bdc2d064a66c5c2fd23c3 100644 (file)
@@ -1,4 +1,4 @@
-#compdef systemd-cat systemd-ask-password systemd-cgls systemd-cgtop systemd-detect-virt systemd-machine-id-setup systemd-notify systemd-tty-ask-password-agent                    -*- shell-script -*-
+#compdef systemd-cat systemd-ask-password systemd-cgls systemd-cgtop systemd-detect-virt systemd-machine-id-setup systemd-notify systemd-tty-ask-password-agent
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
 local curcontext="$curcontext" state lstate line
index 188d6b7359f6494b45fb5d2dd6e6c6708d9a2e95..ce8e6162e810cfa9878b38c5f4595286e74b08be 100644 (file)
@@ -1,4 +1,4 @@
-#compdef systemd-analyze                    -*- shell-script -*-
+#compdef systemd-analyze
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
 (( $+functions[_systemd-analyze_log-level] )) ||
index 5cd140d1fc9dd0cd5340a87e95b2f8eb43a467ed..7d7456b879d9596f493e2f334adbe67e2f9bcc71 100644 (file)
@@ -1,4 +1,4 @@
-#compdef systemd-delta                    -*- shell-script -*-
+#compdef systemd-delta
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
 (( $+functions[_systemd-delta_types] )) ||
index 1ff8487bf9ea4888af786b0b4dd3a0ce87cc7587..059ef9e6be0a31606ca5ca86dbc04fc683877024 100644 (file)
@@ -1,4 +1,4 @@
-#compdef systemd-inhibit                    -*- shell-script -*-
+#compdef systemd-inhibit
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
 (( $+functions[_systemd-inhibit_commands] )) ||
index d3cf06016b14720e404de014c01312c925608d1c..11c86df06c0294523ae7143a298f1c63abd39c78 100644 (file)
@@ -1,4 +1,4 @@
-#compdef systemd-nspawn                    -*- shell-script -*-
+#compdef systemd-nspawn
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
 (( $+functions[_systemd-nspawn_caps] )) ||
index bd70c13ba38c4505005cb156dc1ecb7b2fdc009b..cd0ad8245f7579b4db928ac4bfdc0843af69c3f8 100644 (file)
@@ -1,4 +1,4 @@
-#compdef systemd-run                    -*- shell-script -*-
+#compdef systemd-run
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
 # @todo _systemctl has a helper with the same name, so we must redefine
index 8a23360bf082b343be4aa31cec26a38bf457b069..6c9094afda3b9a737b41de51858fd010b149a81d 100644 (file)
@@ -1,4 +1,4 @@
-#compdef systemd-tmpfiles                    -*- shell-script -*-
+#compdef systemd-tmpfiles
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
 _arguments \
index eee086ea9ecdf69cc4faee1c9844f7ef26e8acc8..2dadb65dbd72ee2bea1e100fbf1a1d93876a9e40 100644 (file)
@@ -1,4 +1,4 @@
-#compdef timedatectl                    -*- shell-script -*-
+#compdef timedatectl
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
 _timedatectl_set-timezone(){
index ae82d8aa70b296b928206825c87261c23a65e1e8..cbe1618b25bace8484fd722aac486f615e3d103e 100644 (file)
@@ -1,4 +1,4 @@
-#compdef udevadm                    -*- shell-script -*-
+#compdef udevadm
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
 (( $+functions[_udevadm_info] )) ||