1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

shell-completion: revert c1072f6473

fixing https://github.com/systemd/systemd/issues/19689
This commit is contained in:
Eric Cook 2021-06-16 15:35:12 -04:00 committed by Zbigniew Jędrzejewski-Szmek
parent edf2ee22f5
commit 682e043c42
21 changed files with 21 additions and 21 deletions

View File

@ -1,4 +1,4 @@
#compdef bootctl -*- shell-script -*-
#compdef bootctl
# SPDX-License-Identifier: LGPL-2.1-or-later
__bootctl() {

View File

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

View File

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

View File

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

View File

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

View 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] )) ||

View File

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

View File

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

View File

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

View File

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

View 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.

View File

@ -1,4 +1,4 @@
#compdef systemctl -*- shell-script -*-
#compdef systemctl
# SPDX-License-Identifier: LGPL-2.1-or-later
(( $+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 -*- 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

View 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] )) ||

View 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] )) ||

View 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] )) ||

View 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] )) ||

View 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

View File

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

View File

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

View File

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