summaryrefslogtreecommitdiff
path: root/shell-completion/zsh
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-11-18 18:21:19 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-11-19 19:08:15 +0100
commit7059062c2f389ae18be26ba26022abda73918ad7 (patch)
treea614764111b4e71bbef00eb48c133e01411c750b /shell-completion/zsh
parentd9215cd838eed27c41c9f1ca30b6354ebf87ecb6 (diff)
downloadsystemd-7059062c2f389ae18be26ba26022abda73918ad7.tar.gz
Add SPDX license headers to shell completion scripts
Diffstat (limited to 'shell-completion/zsh')
-rw-r--r--shell-completion/zsh/_bootctl1
-rw-r--r--shell-completion/zsh/_busctl1
-rw-r--r--shell-completion/zsh/_coredumpctl1
-rw-r--r--shell-completion/zsh/_hostnamectl1
-rw-r--r--shell-completion/zsh/_journalctl1
-rw-r--r--shell-completion/zsh/_kernel-install1
-rw-r--r--shell-completion/zsh/_localectl1
-rw-r--r--shell-completion/zsh/_loginctl1
-rw-r--r--shell-completion/zsh/_machinectl1
-rw-r--r--shell-completion/zsh/_networkctl1
-rw-r--r--shell-completion/zsh/_sd_hosts_or_user_at_host1
-rw-r--r--shell-completion/zsh/_sd_machines1
-rw-r--r--shell-completion/zsh/_sd_outputmodes1
-rw-r--r--shell-completion/zsh/_sd_unit_files1
-rw-r--r--shell-completion/zsh/_systemctl.in1
-rw-r--r--shell-completion/zsh/_systemd1
-rw-r--r--shell-completion/zsh/_systemd-analyze1
-rw-r--r--shell-completion/zsh/_systemd-delta1
-rw-r--r--shell-completion/zsh/_systemd-inhibit1
-rw-r--r--shell-completion/zsh/_systemd-nspawn1
-rw-r--r--shell-completion/zsh/_systemd-resolve1
-rw-r--r--shell-completion/zsh/_systemd-run1
-rw-r--r--shell-completion/zsh/_systemd-tmpfiles1
-rw-r--r--shell-completion/zsh/_timedatectl1
-rw-r--r--shell-completion/zsh/_udevadm1
25 files changed, 25 insertions, 0 deletions
diff --git a/shell-completion/zsh/_bootctl b/shell-completion/zsh/_bootctl
index 0e1b0a5562..f107005814 100644
--- a/shell-completion/zsh/_bootctl
+++ b/shell-completion/zsh/_bootctl
@@ -1,4 +1,5 @@
#compdef bootctl
+# SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_bootctl_command] )) || _bootctl_command()
{
diff --git a/shell-completion/zsh/_busctl b/shell-completion/zsh/_busctl
index a425b8c700..883ace47af 100644
--- a/shell-completion/zsh/_busctl
+++ b/shell-completion/zsh/_busctl
@@ -1,4 +1,5 @@
#compdef busctl
+# SPDX-License-Identifier: LGPL-2.1+
# busctl(1) completion -*- shell-script -*-
#
diff --git a/shell-completion/zsh/_coredumpctl b/shell-completion/zsh/_coredumpctl
index e469bca958..ea8cfb2dec 100644
--- a/shell-completion/zsh/_coredumpctl
+++ b/shell-completion/zsh/_coredumpctl
@@ -1,4 +1,5 @@
#compdef coredumpctl
+# SPDX-License-Identifier: LGPL-2.1+
_coredumpctl_command(){
local -a _coredumpctl_cmds
diff --git a/shell-completion/zsh/_hostnamectl b/shell-completion/zsh/_hostnamectl
index 8c4a354af2..ea86863e5a 100644
--- a/shell-completion/zsh/_hostnamectl
+++ b/shell-completion/zsh/_hostnamectl
@@ -1,4 +1,5 @@
#compdef hostnamectl
+# SPDX-License-Identifier: LGPL-2.1+
_hostnamectl_set-hostname() {
if (( CURRENT <= 3 )); then
diff --git a/shell-completion/zsh/_journalctl b/shell-completion/zsh/_journalctl
index 4a78a2e946..4bffabba96 100644
--- a/shell-completion/zsh/_journalctl
+++ b/shell-completion/zsh/_journalctl
@@ -1,4 +1,5 @@
#compdef journalctl
+# SPDX-License-Identifier: LGPL-2.1+
_list_fields() {
local -a journal_fields
diff --git a/shell-completion/zsh/_kernel-install b/shell-completion/zsh/_kernel-install
index 4fdd3a4ae7..6358a64589 100644
--- a/shell-completion/zsh/_kernel-install
+++ b/shell-completion/zsh/_kernel-install
@@ -1,4 +1,5 @@
#compdef kernel-install
+# SPDX-License-Identifier: LGPL-2.1+
_images(){
if [[ "$words[2]" == "remove" ]]; then
diff --git a/shell-completion/zsh/_localectl b/shell-completion/zsh/_localectl
index 54c2d456e4..e5ec65b53b 100644
--- a/shell-completion/zsh/_localectl
+++ b/shell-completion/zsh/_localectl
@@ -1,4 +1,5 @@
#compdef localectl
+# SPDX-License-Identifier: LGPL-2.1+
_localectl_set-locale() {
local -a _locales locale_fields
diff --git a/shell-completion/zsh/_loginctl b/shell-completion/zsh/_loginctl
index 6f6ff6e314..03dde9a891 100644
--- a/shell-completion/zsh/_loginctl
+++ b/shell-completion/zsh/_loginctl
@@ -1,4 +1,5 @@
#compdef loginctl
+# SPDX-License-Identifier: LGPL-2.1+
_loginctl_all_sessions() {
local session description
diff --git a/shell-completion/zsh/_machinectl b/shell-completion/zsh/_machinectl
index 92d77109a5..933f4d2e6a 100644
--- a/shell-completion/zsh/_machinectl
+++ b/shell-completion/zsh/_machinectl
@@ -1,4 +1,5 @@
#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;}
diff --git a/shell-completion/zsh/_networkctl b/shell-completion/zsh/_networkctl
index acf7463edb..ea485d653c 100644
--- a/shell-completion/zsh/_networkctl
+++ b/shell-completion/zsh/_networkctl
@@ -1,4 +1,5 @@
#compdef networkctl
+# SPDX-License-Identifier: LGPL-2.1+
_networkctl_command(){
local -a _networkctl_cmds
diff --git a/shell-completion/zsh/_sd_hosts_or_user_at_host b/shell-completion/zsh/_sd_hosts_or_user_at_host
index 282f7328e4..11f94f1976 100644
--- a/shell-completion/zsh/_sd_hosts_or_user_at_host
+++ b/shell-completion/zsh/_sd_hosts_or_user_at_host
@@ -1,4 +1,5 @@
#autoload
+# SPDX-License-Identifier: LGPL-2.1+
_alternative \
'users-hosts:: _user_at_host' \
diff --git a/shell-completion/zsh/_sd_machines b/shell-completion/zsh/_sd_machines
index a0039ee0f8..ab35cf84b3 100644
--- a/shell-completion/zsh/_sd_machines
+++ b/shell-completion/zsh/_sd_machines
@@ -1,4 +1,5 @@
#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;};
}
diff --git a/shell-completion/zsh/_sd_outputmodes b/shell-completion/zsh/_sd_outputmodes
index 2948f40130..3b8850b3f0 100644
--- a/shell-completion/zsh/_sd_outputmodes
+++ b/shell-completion/zsh/_sd_outputmodes
@@ -1,4 +1,5 @@
#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)
diff --git a/shell-completion/zsh/_sd_unit_files b/shell-completion/zsh/_sd_unit_files
index 5e90ea23c5..cce44423e9 100644
--- a/shell-completion/zsh/_sd_unit_files
+++ b/shell-completion/zsh/_sd_unit_files
@@ -1,4 +1,5 @@
#autoload
+# SPDX-License-Identifier: LGPL-2.1+
_sd_unit_files() {
local files expl
diff --git a/shell-completion/zsh/_systemctl.in b/shell-completion/zsh/_systemctl.in
index 489793e8bb..47ec9970e1 100644
--- a/shell-completion/zsh/_systemctl.in
+++ b/shell-completion/zsh/_systemctl.in
@@ -1,4 +1,5 @@
#compdef systemctl
+# SPDX-License-Identifier: LGPL-2.1+
(( $+functions[_systemctl_command] )) || _systemctl_command()
{
diff --git a/shell-completion/zsh/_systemd b/shell-completion/zsh/_systemd
index 62114ff095..ccac889244 100644
--- a/shell-completion/zsh/_systemd
+++ b/shell-completion/zsh/_systemd
@@ -1,4 +1,5 @@
#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
diff --git a/shell-completion/zsh/_systemd-analyze b/shell-completion/zsh/_systemd-analyze
index 22b4c181a1..ce22217fbc 100644
--- a/shell-completion/zsh/_systemd-analyze
+++ b/shell-completion/zsh/_systemd-analyze
@@ -1,4 +1,5 @@
#compdef systemd-analyze
+# SPDX-License-Identifier: LGPL-2.1+
_systemd_analyze_set-log-level() {
local -a _levels
diff --git a/shell-completion/zsh/_systemd-delta b/shell-completion/zsh/_systemd-delta
index 757f1b66fb..44e4cb3791 100644
--- a/shell-completion/zsh/_systemd-delta
+++ b/shell-completion/zsh/_systemd-delta
@@ -1,4 +1,5 @@
#compdef systemd-delta
+# SPDX-License-Identifier: LGPL-2.1+
_delta_type() {
local -a _delta_types
diff --git a/shell-completion/zsh/_systemd-inhibit b/shell-completion/zsh/_systemd-inhibit
index 1b3247b2cd..764713e28a 100644
--- a/shell-completion/zsh/_systemd-inhibit
+++ b/shell-completion/zsh/_systemd-inhibit
@@ -1,4 +1,5 @@
#compdef systemd-inhibit
+# SPDX-License-Identifier: LGPL-2.1+
_systemd_inhibit_command(){
if (( CURRENT == 1 )); then
diff --git a/shell-completion/zsh/_systemd-nspawn b/shell-completion/zsh/_systemd-nspawn
index 77b2e7cd7c..e0bedee2aa 100644
--- a/shell-completion/zsh/_systemd-nspawn
+++ b/shell-completion/zsh/_systemd-nspawn
@@ -1,4 +1,5 @@
#compdef systemd-nspawn
+# SPDX-License-Identifier: LGPL-2.1+
_nspawn-caps(){
local -a _caps
diff --git a/shell-completion/zsh/_systemd-resolve b/shell-completion/zsh/_systemd-resolve
index c318ab50f1..eb7606af30 100644
--- a/shell-completion/zsh/_systemd-resolve
+++ b/shell-completion/zsh/_systemd-resolve
@@ -1,4 +1,5 @@
#compdef systemd-resolve
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
diff --git a/shell-completion/zsh/_systemd-run b/shell-completion/zsh/_systemd-run
index 5c3e65c223..0ad4b27a6f 100644
--- a/shell-completion/zsh/_systemd-run
+++ b/shell-completion/zsh/_systemd-run
@@ -1,4 +1,5 @@
#compdef systemd-run
+# SPDX-License-Identifier: LGPL-2.1+
__systemctl() {
local -a _modes
diff --git a/shell-completion/zsh/_systemd-tmpfiles b/shell-completion/zsh/_systemd-tmpfiles
index 6ff02e5d98..0993bca5a4 100644
--- a/shell-completion/zsh/_systemd-tmpfiles
+++ b/shell-completion/zsh/_systemd-tmpfiles
@@ -1,4 +1,5 @@
#compdef systemd-tmpfiles
+# SPDX-License-Identifier: LGPL-2.1+
_arguments \
{-h,--help}'[Show help]' \
diff --git a/shell-completion/zsh/_timedatectl b/shell-completion/zsh/_timedatectl
index dfdcfebb3c..c1ed21e565 100644
--- a/shell-completion/zsh/_timedatectl
+++ b/shell-completion/zsh/_timedatectl
@@ -1,4 +1,5 @@
#compdef timedatectl
+# SPDX-License-Identifier: LGPL-2.1+
_timedatectl_set-timezone(){
local -a _timezones
diff --git a/shell-completion/zsh/_udevadm b/shell-completion/zsh/_udevadm
index bb23e64d24..c6bd685aee 100644
--- a/shell-completion/zsh/_udevadm
+++ b/shell-completion/zsh/_udevadm
@@ -1,4 +1,5 @@
#compdef udevadm
+# SPDX-License-Identifier: LGPL-2.1+
_udevadm_info(){
_arguments \