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:
parent
edf2ee22f5
commit
682e043c42
@ -1,4 +1,4 @@
|
||||
#compdef bootctl -*- shell-script -*-
|
||||
#compdef bootctl
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
__bootctl() {
|
||||
|
@ -1,4 +1,4 @@
|
||||
#compdef busctl -*- shell-script -*-
|
||||
#compdef busctl
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
# busctl(1) completion -*- shell-script -*-
|
||||
|
@ -1,4 +1,4 @@
|
||||
#compdef coredumpctl -*- shell-script -*-
|
||||
#compdef coredumpctl
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
(( $+functions[_coredumpctl_commands] )) ||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#compdef hostnamectl -*- shell-script -*-
|
||||
#compdef hostnamectl
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
(( $+functions[_hostnamectl_hostname] )) ||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#compdef journalctl -*- shell-script -*-
|
||||
#compdef journalctl
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
(( $+functions[_journalctl_fields] )) ||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#compdef kernel-install -*- shell-script -*-
|
||||
#compdef kernel-install
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
(( $+functions[_kernel-install_images] )) ||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#compdef localectl -*- shell-script -*-
|
||||
#compdef localectl
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
(( $+functions[_localectl_set-locale] )) ||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#compdef loginctl -*- shell-script -*-
|
||||
#compdef loginctl
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
(( $+functions[_loginctl_all_sessions] )) ||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#compdef machinectl -*- shell-script -*-
|
||||
#compdef machinectl
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
(( $+functions[__machinectl_get_machines] )) ||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#compdef networkctl -*- shell-script -*-
|
||||
#compdef networkctl
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
(( $+functions[_networkctl_commands] )) ||
|
||||
|
@ -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.
|
||||
|
@ -1,4 +1,4 @@
|
||||
#compdef systemctl -*- shell-script -*-
|
||||
#compdef systemctl
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
(( $+functions[_systemctl_commands] )) || _systemctl_commands()
|
||||
|
@ -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
|
||||
|
@ -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] )) ||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#compdef systemd-delta -*- shell-script -*-
|
||||
#compdef systemd-delta
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
(( $+functions[_systemd-delta_types] )) ||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#compdef systemd-inhibit -*- shell-script -*-
|
||||
#compdef systemd-inhibit
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
(( $+functions[_systemd-inhibit_commands] )) ||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#compdef systemd-nspawn -*- shell-script -*-
|
||||
#compdef systemd-nspawn
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
(( $+functions[_systemd-nspawn_caps] )) ||
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
#compdef systemd-tmpfiles -*- shell-script -*-
|
||||
#compdef systemd-tmpfiles
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
_arguments \
|
||||
|
@ -1,4 +1,4 @@
|
||||
#compdef timedatectl -*- shell-script -*-
|
||||
#compdef timedatectl
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
_timedatectl_set-timezone(){
|
||||
|
@ -1,4 +1,4 @@
|
||||
#compdef udevadm -*- shell-script -*-
|
||||
#compdef udevadm
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
(( $+functions[_udevadm_info] )) ||
|
||||
|
Loading…
Reference in New Issue
Block a user