Since there's no file extension, emacs and other editors do not know that this is
supposed to be in shell syntax.
-#compdef bootctl
+#compdef bootctl -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_bootctl_commands] )) || _bootctl_commands()
-#compdef busctl
+#compdef busctl -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+
# busctl(1) completion -*- shell-script -*-
-#compdef coredumpctl
+#compdef coredumpctl -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_coredumpctl_commands] )) ||
-#compdef hostnamectl
+#compdef hostnamectl -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_hostnamectl_set-hostname] )) ||
-#compdef journalctl
+#compdef journalctl -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_journalctl_fields] )) ||
-#compdef kernel-install
+#compdef kernel-install -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_kernel-install_images] )) ||
-#compdef localectl
+#compdef localectl -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_localectl_set-locale] )) ||
-#compdef loginctl
+#compdef loginctl -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_loginctl_all_sessions] )) ||
-#compdef machinectl
+#compdef machinectl -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+
(( $+functions[__machinectl_get_machines] )) ||
-#compdef networkctl
+#compdef networkctl -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_networkctl_commands] )) ||
-#compdef systemctl
+#compdef systemctl -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_systemctl_commands] )) || _systemctl_commands()
-#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
-#compdef systemd-analyze
+#compdef systemd-analyze -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_systemd-analyze_log-level] )) ||
-#compdef systemd-delta
+#compdef systemd-delta -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_systemd-delta_types] )) ||
-#compdef systemd-inhibit
+#compdef systemd-inhibit -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_systemd-inhibit_commands] )) ||
-#compdef systemd-nspawn
+#compdef systemd-nspawn -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_systemd-nspawn_caps] )) ||
-#compdef systemd-resolve
+#compdef systemd-resolve -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
-#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
-#compdef systemd-tmpfiles
+#compdef systemd-tmpfiles -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+
_arguments \
-#compdef timedatectl
+#compdef timedatectl -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+
_timedatectl_set-timezone(){
-#compdef udevadm
+#compdef udevadm -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_udevadm_info] )) ||