# bootctl(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# busctl(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# coredumpctl(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# hostnamectl(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# journalctl(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# kernel-install(8) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# localectl(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# loginctl(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# machinectl(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# networkctl(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# systemctl(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# systemd-analyze(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# systemd-cat(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# systemd-cgls(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# systemd-cgtop(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# systemd-delta(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# systemd-detect-virt(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# systemd-nspawn(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# systemd-path(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# systemd-resolve(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# systemd-run(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# timedatectl(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# udevadm(8) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
#compdef bootctl
+# SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_bootctl_command] )) || _bootctl_command()
{
#compdef busctl
+# SPDX-License-Identifier: LGPL-2.1+
# busctl(1) completion -*- shell-script -*-
#
#compdef coredumpctl
+# SPDX-License-Identifier: LGPL-2.1+
_coredumpctl_command(){
local -a _coredumpctl_cmds
#compdef hostnamectl
+# SPDX-License-Identifier: LGPL-2.1+
_hostnamectl_set-hostname() {
if (( CURRENT <= 3 )); then
#compdef journalctl
+# SPDX-License-Identifier: LGPL-2.1+
_list_fields() {
local -a journal_fields
#compdef kernel-install
+# SPDX-License-Identifier: LGPL-2.1+
_images(){
if [[ "$words[2]" == "remove" ]]; then
#compdef localectl
+# SPDX-License-Identifier: LGPL-2.1+
_localectl_set-locale() {
local -a _locales locale_fields
#compdef loginctl
+# SPDX-License-Identifier: LGPL-2.1+
_loginctl_all_sessions() {
local session description
#compdef machinectl
+# SPDX-License-Identifier: LGPL-2.1+
__get_available_machines () {
machinectl --no-legend list-images | {while read -r a b; do echo $a; done;}
#compdef networkctl
+# SPDX-License-Identifier: LGPL-2.1+
_networkctl_command(){
local -a _networkctl_cmds
#autoload
+# SPDX-License-Identifier: LGPL-2.1+
_alternative \
'users-hosts:: _user_at_host' \
#autoload
+# SPDX-License-Identifier: LGPL-2.1+
__get_machines () {
machinectl --full --no-legend --no-pager list | {while read -r a b; do echo $a; done;};
}
#autoload
+# SPDX-License-Identifier: LGPL-2.1+
local -a _output_opts
_output_opts=(short short-full short-iso short-iso-precise short-precise short-monotonic short-unix verbose export json json-pretty json-sse cat)
#autoload
+# SPDX-License-Identifier: LGPL-2.1+
_sd_unit_files() {
local files expl
#compdef systemctl
+# SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_systemctl_command] )) || _systemctl_command()
{
#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+
local curcontext="$curcontext" state lstate line
case "$service" in
#compdef systemd-analyze
+# SPDX-License-Identifier: LGPL-2.1+
_systemd_analyze_set-log-level() {
local -a _levels
#compdef systemd-delta
+# SPDX-License-Identifier: LGPL-2.1+
_delta_type() {
local -a _delta_types
#compdef systemd-inhibit
+# SPDX-License-Identifier: LGPL-2.1+
_systemd_inhibit_command(){
if (( CURRENT == 1 )); then
#compdef systemd-nspawn
+# SPDX-License-Identifier: LGPL-2.1+
_nspawn-caps(){
local -a _caps
#compdef systemd-resolve
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#compdef systemd-run
+# SPDX-License-Identifier: LGPL-2.1+
__systemctl() {
local -a _modes
#compdef systemd-tmpfiles
+# SPDX-License-Identifier: LGPL-2.1+
_arguments \
{-h,--help}'[Show help]' \
#compdef timedatectl
+# SPDX-License-Identifier: LGPL-2.1+
_timedatectl_set-timezone(){
local -a _timezones
#compdef udevadm
+# SPDX-License-Identifier: LGPL-2.1+
_udevadm_info(){
_arguments \