]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
shell-completion/zsh: add -*type*- headers
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 5 Apr 2019 09:41:35 +0000 (11:41 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 12 Apr 2019 06:36:18 +0000 (08:36 +0200)
Since there's no file extension, emacs and other editors do not know that this is
supposed to be in shell syntax.

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/_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-resolve
shell-completion/zsh/_systemd-run
shell-completion/zsh/_systemd-tmpfiles
shell-completion/zsh/_timedatectl
shell-completion/zsh/_udevadm

index 0ffef94e4ab3004f096a2e37c3a21cf40813e33a..f0ac89252149437b6931a5a78bdd479de1e34db7 100644 (file)
@@ -1,4 +1,4 @@
-#compdef bootctl
+#compdef bootctl                    -*- shell-script -*-
 # SPDX-License-Identifier: LGPL-2.1+
 
 (( $+functions[_bootctl_commands] )) || _bootctl_commands()
index d66ff3e0ce7cfcd444f4c1abfb73626203295681..4e0362423c6549e8b2445d286c8dcc7f4ebe9447 100644 (file)
@@ -1,4 +1,4 @@
-#compdef busctl
+#compdef busctl                    -*- shell-script -*-
 # SPDX-License-Identifier: LGPL-2.1+
 
 # busctl(1) completion                               -*- shell-script -*-
index 74491626aa7fd3a81194218334e85a5e07c5d538..6b7d14a76617ba0dda0f2f7fda9134baf87fb080 100644 (file)
@@ -1,4 +1,4 @@
-#compdef coredumpctl
+#compdef coredumpctl                    -*- shell-script -*-
 # SPDX-License-Identifier: LGPL-2.1+
 
 (( $+functions[_coredumpctl_commands] )) ||
index a5c89306d1ddc047b9880554b2b1a6a86f88e88e..d1ad85a18fbbe7056b02d1d52db6ed107004d485 100644 (file)
@@ -1,4 +1,4 @@
-#compdef hostnamectl
+#compdef hostnamectl                    -*- shell-script -*-
 # SPDX-License-Identifier: LGPL-2.1+
 
 (( $+functions[_hostnamectl_set-hostname] )) ||
index 0520e02de20d0fa1cd2febedd587725f975a7b17..019ffbe87ac8e8a0188540fb93067dadef94c302 100644 (file)
@@ -1,4 +1,4 @@
-#compdef journalctl
+#compdef journalctl                    -*- shell-script -*-
 # SPDX-License-Identifier: LGPL-2.1+
 
 (( $+functions[_journalctl_fields] )) ||
index 5be5c4c3f282c04405bcf11dc3fe55878e472967..4b5dd89d434a9a8699eceb7b335992a4ff213761 100644 (file)
@@ -1,4 +1,4 @@
-#compdef kernel-install
+#compdef kernel-install                    -*- shell-script -*-
 # SPDX-License-Identifier: LGPL-2.1+
 
 (( $+functions[_kernel-install_images] )) ||
index 569f4f294c8bc80a4583edd296264ea42570b536..a712473ce248ad1d66617dbdbc6034b853f22e15 100644 (file)
@@ -1,4 +1,4 @@
-#compdef localectl
+#compdef localectl                    -*- shell-script -*-
 # SPDX-License-Identifier: LGPL-2.1+
 
 (( $+functions[_localectl_set-locale] )) ||
index c421a9b6c48067ec4856a5705065bd37e85e2bcf..b9ccbedf75b2d862c2cddf1638b05473b472cf1f 100644 (file)
@@ -1,4 +1,4 @@
-#compdef loginctl
+#compdef loginctl                    -*- shell-script -*-
 # SPDX-License-Identifier: LGPL-2.1+
 
 (( $+functions[_loginctl_all_sessions] )) ||
index 1590b9f1b91eb7a57b51ebfbf092efa4d3301b01..5ffb7e8b9ffb6843d647e5d0b65c5cccafd14acd 100644 (file)
@@ -1,4 +1,4 @@
-#compdef machinectl
+#compdef machinectl                    -*- shell-script -*-
 # SPDX-License-Identifier: LGPL-2.1+
 
 (( $+functions[__machinectl_get_machines] )) ||
index c9b730fbe334e7e716d93599485172f47005a1a9..4995bd3d105f0be4db4176cb67ac5e8cd0221f8c 100644 (file)
@@ -1,4 +1,4 @@
-#compdef networkctl
+#compdef networkctl                    -*- shell-script -*-
 # SPDX-License-Identifier: LGPL-2.1+
 
 (( $+functions[_networkctl_commands] )) ||
index 0c86fec95c44d5e11107710f1f203c08b3c8d1bf..07db6d47ce0b5877e82fca9db52bdfe50796ee35 100644 (file)
@@ -1,4 +1,4 @@
-#compdef systemctl
+#compdef systemctl                    -*- shell-script -*-
 # SPDX-License-Identifier: LGPL-2.1+
 
 (( $+functions[_systemctl_commands] )) || _systemctl_commands()
index cd674a71ea0f1acddc5501532867307203ac5c63..3550c15163a3b427430a815f03d58c877df5074c 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
+#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 -*-
 # SPDX-License-Identifier: LGPL-2.1+
 
 local curcontext="$curcontext" state lstate line
index 8a5fbb51246094efd32372b0d67eba48e7a67b43..89ba46c959d3bef8b60ac54cb2ccc1e980238173 100644 (file)
@@ -1,4 +1,4 @@
-#compdef systemd-analyze
+#compdef systemd-analyze                    -*- shell-script -*-
 # SPDX-License-Identifier: LGPL-2.1+
 
 (( $+functions[_systemd-analyze_log-level] )) ||
index e07bbc8b2baa6aea4e3a2ddd189a406e44d5ce61..b4361f7860f0065786ee9f80c9401894cf8e2e2f 100644 (file)
@@ -1,4 +1,4 @@
-#compdef systemd-delta
+#compdef systemd-delta                    -*- shell-script -*-
 # SPDX-License-Identifier: LGPL-2.1+
 
 (( $+functions[_systemd-delta_types] )) ||
index 7c40e49ae46ddc0c9534ca8bd7618f00841e6a0d..c51c48516704fa4802b8f28cd2d8a85ae2e83201 100644 (file)
@@ -1,4 +1,4 @@
-#compdef systemd-inhibit
+#compdef systemd-inhibit                    -*- shell-script -*-
 # SPDX-License-Identifier: LGPL-2.1+
 
 (( $+functions[_systemd-inhibit_commands] )) ||
index abaabfc8956fd75deaa29a2be6dba8ea5c6eeaa9..414d82e2ea8b92038ebed7973ed75ce25b4e0f76 100644 (file)
@@ -1,4 +1,4 @@
-#compdef systemd-nspawn
+#compdef systemd-nspawn                    -*- shell-script -*-
 # SPDX-License-Identifier: LGPL-2.1+
 
 (( $+functions[_systemd-nspawn_caps] )) ||
index 07f6ad26b57a194b4115773bbba7ae480b8997b6..3b0ce311f274e11968f72650de4e93f58b8fc2b9 100644 (file)
@@ -1,4 +1,4 @@
-#compdef systemd-resolve
+#compdef systemd-resolve                    -*- shell-script -*-
 # SPDX-License-Identifier: LGPL-2.1+
 #
 # This file is part of systemd.
index 2e0b3d2cfd8bd44003d9b3a4ddefbb1b9a0f9cb1..6a703a075bf9510ec099019def1d0252b55580b3 100644 (file)
@@ -1,4 +1,4 @@
-#compdef systemd-run
+#compdef systemd-run                    -*- shell-script -*-
 # SPDX-License-Identifier: LGPL-2.1+
 
 # @todo _systemctl has a helper with the same name, so we must redefine
index 0993bca5a4b53b1fd38f2c471d70954f3c5813cd..8860dc797cfe20da197bb06d9826d7d98b6af2be 100644 (file)
@@ -1,4 +1,4 @@
-#compdef systemd-tmpfiles
+#compdef systemd-tmpfiles                    -*- shell-script -*-
 # SPDX-License-Identifier: LGPL-2.1+
 
 _arguments \
index c1ed21e56561079bc2acccc3ba18e55b980483b1..e2dabc79a727320396a73d61743f1bee24f82b68 100644 (file)
@@ -1,4 +1,4 @@
-#compdef timedatectl
+#compdef timedatectl                    -*- shell-script -*-
 # SPDX-License-Identifier: LGPL-2.1+
 
 _timedatectl_set-timezone(){
index eb133a42a6838b2521bb5a97bd04816cdb87c3f6..ad0b73d4766052e5c90df32687f2619e1341b3bf 100644 (file)
@@ -1,4 +1,4 @@
-#compdef udevadm
+#compdef udevadm                    -*- shell-script -*-
 # SPDX-License-Identifier: LGPL-2.1+
 
 (( $+functions[_udevadm_info] )) ||