shell-completion/zsh: add -*type*- headers

Since there's no file extension, emacs and other editors do not know that this is
supposed to be in shell syntax.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2019-04-05 11:41:35 +02:00
parent 843cfcb15c
commit c1072f6473
21 changed files with 21 additions and 21 deletions

View file

@ -1,4 +1,4 @@
#compdef bootctl #compdef bootctl -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+ # SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_bootctl_commands] )) || _bootctl_commands() (( $+functions[_bootctl_commands] )) || _bootctl_commands()

View file

@ -1,4 +1,4 @@
#compdef busctl #compdef busctl -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+ # SPDX-License-Identifier: LGPL-2.1+
# busctl(1) completion -*- shell-script -*- # busctl(1) completion -*- shell-script -*-

View file

@ -1,4 +1,4 @@
#compdef coredumpctl #compdef coredumpctl -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+ # SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_coredumpctl_commands] )) || (( $+functions[_coredumpctl_commands] )) ||

View file

@ -1,4 +1,4 @@
#compdef hostnamectl #compdef hostnamectl -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+ # SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_hostnamectl_set-hostname] )) || (( $+functions[_hostnamectl_set-hostname] )) ||

View file

@ -1,4 +1,4 @@
#compdef journalctl #compdef journalctl -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+ # SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_journalctl_fields] )) || (( $+functions[_journalctl_fields] )) ||

View file

@ -1,4 +1,4 @@
#compdef kernel-install #compdef kernel-install -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+ # SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_kernel-install_images] )) || (( $+functions[_kernel-install_images] )) ||

View file

@ -1,4 +1,4 @@
#compdef localectl #compdef localectl -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+ # SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_localectl_set-locale] )) || (( $+functions[_localectl_set-locale] )) ||

View file

@ -1,4 +1,4 @@
#compdef loginctl #compdef loginctl -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+ # SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_loginctl_all_sessions] )) || (( $+functions[_loginctl_all_sessions] )) ||

View file

@ -1,4 +1,4 @@
#compdef machinectl #compdef machinectl -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+ # SPDX-License-Identifier: LGPL-2.1+
(( $+functions[__machinectl_get_machines] )) || (( $+functions[__machinectl_get_machines] )) ||

View file

@ -1,4 +1,4 @@
#compdef networkctl #compdef networkctl -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+ # SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_networkctl_commands] )) || (( $+functions[_networkctl_commands] )) ||

View file

@ -1,4 +1,4 @@
#compdef systemctl #compdef systemctl -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+ # SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_systemctl_commands] )) || _systemctl_commands() (( $+functions[_systemctl_commands] )) || _systemctl_commands()

View 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+ # SPDX-License-Identifier: LGPL-2.1+
local curcontext="$curcontext" state lstate line local curcontext="$curcontext" state lstate line

View file

@ -1,4 +1,4 @@
#compdef systemd-analyze #compdef systemd-analyze -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+ # SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_systemd-analyze_log-level] )) || (( $+functions[_systemd-analyze_log-level] )) ||

View file

@ -1,4 +1,4 @@
#compdef systemd-delta #compdef systemd-delta -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+ # SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_systemd-delta_types] )) || (( $+functions[_systemd-delta_types] )) ||

View file

@ -1,4 +1,4 @@
#compdef systemd-inhibit #compdef systemd-inhibit -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+ # SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_systemd-inhibit_commands] )) || (( $+functions[_systemd-inhibit_commands] )) ||

View file

@ -1,4 +1,4 @@
#compdef systemd-nspawn #compdef systemd-nspawn -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+ # SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_systemd-nspawn_caps] )) || (( $+functions[_systemd-nspawn_caps] )) ||

View file

@ -1,4 +1,4 @@
#compdef systemd-resolve #compdef systemd-resolve -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+ # SPDX-License-Identifier: LGPL-2.1+
# #
# This file is part of systemd. # This file is part of systemd.

View file

@ -1,4 +1,4 @@
#compdef systemd-run #compdef systemd-run -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+ # SPDX-License-Identifier: LGPL-2.1+
# @todo _systemctl has a helper with the same name, so we must redefine # @todo _systemctl has a helper with the same name, so we must redefine

View file

@ -1,4 +1,4 @@
#compdef systemd-tmpfiles #compdef systemd-tmpfiles -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+ # SPDX-License-Identifier: LGPL-2.1+
_arguments \ _arguments \

View file

@ -1,4 +1,4 @@
#compdef timedatectl #compdef timedatectl -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+ # SPDX-License-Identifier: LGPL-2.1+
_timedatectl_set-timezone(){ _timedatectl_set-timezone(){

View file

@ -1,4 +1,4 @@
#compdef udevadm #compdef udevadm -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+ # SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_udevadm_info] )) || (( $+functions[_udevadm_info] )) ||