summaryrefslogtreecommitdiff
path: root/shell-completion
diff options
context:
space:
mode:
authorAdrian Szyndela <adrian.s@samsung.com>2020-02-17 14:12:39 +0100
committerAdrian Szyndela <adrian.s@samsung.com>2020-02-26 12:50:55 +0100
commit90932a624e2c56acc064a6a25fa18c30f2ca1678 (patch)
tree74efdb2c2b61142b1f905be59cde8e94434cbef6 /shell-completion
parentbb7c9ece542c2209cfcbee5c0871e95590d84a1b (diff)
parenta1b2c92d8290c76a29ccd0887a92ac064e1bb5a1 (diff)
downloadsystemd-90932a624e2c56acc064a6a25fa18c30f2ca1678.tar.gz
systemd-90932a624e2c56acc064a6a25fa18c30f2ca1678.tar.bz2
systemd-90932a624e2c56acc064a6a25fa18c30f2ca1678.zip
Merge v236 into tizensandbox/adrians/upgrade-to-236
Change-Id: Id62f08b8ecf2a909a49e5f93b2f7594b3880ef44
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/bash/bootctl1
-rw-r--r--shell-completion/bash/busctl1
-rw-r--r--shell-completion/bash/coredumpctl1
-rw-r--r--shell-completion/bash/hostnamectl1
-rw-r--r--shell-completion/bash/journalctl1
-rw-r--r--shell-completion/bash/kernel-install1
-rw-r--r--shell-completion/bash/localectl1
-rw-r--r--shell-completion/bash/loginctl1
-rw-r--r--shell-completion/bash/machinectl1
-rw-r--r--shell-completion/bash/meson.build17
-rw-r--r--shell-completion/bash/networkctl1
-rw-r--r--shell-completion/bash/systemctl.in1
-rw-r--r--shell-completion/bash/systemd-analyze1
-rw-r--r--shell-completion/bash/systemd-cat1
-rw-r--r--shell-completion/bash/systemd-cgls1
-rw-r--r--shell-completion/bash/systemd-cgtop1
-rw-r--r--shell-completion/bash/systemd-delta1
-rw-r--r--shell-completion/bash/systemd-detect-virt1
-rw-r--r--shell-completion/bash/systemd-nspawn1
-rw-r--r--shell-completion/bash/systemd-path1
-rw-r--r--shell-completion/bash/systemd-resolve1
-rw-r--r--shell-completion/bash/systemd-run1
-rw-r--r--shell-completion/bash/timedatectl1
-rw-r--r--shell-completion/bash/udevadm1
-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.in7
-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
-rw-r--r--shell-completion/zsh/meson.build17
50 files changed, 85 insertions, 3 deletions
diff --git a/shell-completion/bash/bootctl b/shell-completion/bash/bootctl
index c86ec7edc9..34b1b552d9 100644
--- a/shell-completion/bash/bootctl
+++ b/shell-completion/bash/bootctl
@@ -1,4 +1,5 @@
# bootctl(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
diff --git a/shell-completion/bash/busctl b/shell-completion/bash/busctl
index 6a770b1b84..aa4c1d74d9 100644
--- a/shell-completion/bash/busctl
+++ b/shell-completion/bash/busctl
@@ -1,4 +1,5 @@
# busctl(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
diff --git a/shell-completion/bash/coredumpctl b/shell-completion/bash/coredumpctl
index 87fe473e09..842e4943ff 100644
--- a/shell-completion/bash/coredumpctl
+++ b/shell-completion/bash/coredumpctl
@@ -1,4 +1,5 @@
# coredumpctl(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
diff --git a/shell-completion/bash/hostnamectl b/shell-completion/bash/hostnamectl
index 7cf8b6f631..a35ac7f9a0 100644
--- a/shell-completion/bash/hostnamectl
+++ b/shell-completion/bash/hostnamectl
@@ -1,4 +1,5 @@
# hostnamectl(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
diff --git a/shell-completion/bash/journalctl b/shell-completion/bash/journalctl
index c90a114497..03ee733d7e 100644
--- a/shell-completion/bash/journalctl
+++ b/shell-completion/bash/journalctl
@@ -1,4 +1,5 @@
# journalctl(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
diff --git a/shell-completion/bash/kernel-install b/shell-completion/bash/kernel-install
index 7cd2494cf7..5a78528d36 100644
--- a/shell-completion/bash/kernel-install
+++ b/shell-completion/bash/kernel-install
@@ -1,4 +1,5 @@
# kernel-install(8) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
diff --git a/shell-completion/bash/localectl b/shell-completion/bash/localectl
index e0c06a794e..97c91a4ce2 100644
--- a/shell-completion/bash/localectl
+++ b/shell-completion/bash/localectl
@@ -1,4 +1,5 @@
# localectl(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
diff --git a/shell-completion/bash/loginctl b/shell-completion/bash/loginctl
index 776eca4e62..d8d14f889a 100644
--- a/shell-completion/bash/loginctl
+++ b/shell-completion/bash/loginctl
@@ -1,4 +1,5 @@
# loginctl(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
diff --git a/shell-completion/bash/machinectl b/shell-completion/bash/machinectl
index aebe48304d..7865a99882 100644
--- a/shell-completion/bash/machinectl
+++ b/shell-completion/bash/machinectl
@@ -1,4 +1,5 @@
# machinectl(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
diff --git a/shell-completion/bash/meson.build b/shell-completion/bash/meson.build
index 11238781c6..347518cd46 100644
--- a/shell-completion/bash/meson.build
+++ b/shell-completion/bash/meson.build
@@ -1,3 +1,20 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
+# Copyright 2017 Zbigniew Jędrzejewski-Szmek
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# systemd is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with systemd; If not, see <http://www.gnu.org/licenses/>.
+
bashcompletiondir = get_option('bashcompletiondir')
if bashcompletiondir == ''
bash_completion = dependency('bash-completion', required : false)
diff --git a/shell-completion/bash/networkctl b/shell-completion/bash/networkctl
index 68e3338471..0c36aaf464 100644
--- a/shell-completion/bash/networkctl
+++ b/shell-completion/bash/networkctl
@@ -1,4 +1,5 @@
# networkctl(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
diff --git a/shell-completion/bash/systemctl.in b/shell-completion/bash/systemctl.in
index bde28efc3e..5a353f7107 100644
--- a/shell-completion/bash/systemctl.in
+++ b/shell-completion/bash/systemctl.in
@@ -1,4 +1,5 @@
# systemctl(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
diff --git a/shell-completion/bash/systemd-analyze b/shell-completion/bash/systemd-analyze
index 8c56a1cf9a..45ff7a1f3e 100644
--- a/shell-completion/bash/systemd-analyze
+++ b/shell-completion/bash/systemd-analyze
@@ -1,4 +1,5 @@
# systemd-analyze(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
diff --git a/shell-completion/bash/systemd-cat b/shell-completion/bash/systemd-cat
index 8d84042af1..20ff672059 100644
--- a/shell-completion/bash/systemd-cat
+++ b/shell-completion/bash/systemd-cat
@@ -1,4 +1,5 @@
# systemd-cat(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
diff --git a/shell-completion/bash/systemd-cgls b/shell-completion/bash/systemd-cgls
index 0570438660..0f579a6e67 100644
--- a/shell-completion/bash/systemd-cgls
+++ b/shell-completion/bash/systemd-cgls
@@ -1,4 +1,5 @@
# systemd-cgls(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
diff --git a/shell-completion/bash/systemd-cgtop b/shell-completion/bash/systemd-cgtop
index f1ed22fd55..7a1b4acc7c 100644
--- a/shell-completion/bash/systemd-cgtop
+++ b/shell-completion/bash/systemd-cgtop
@@ -1,4 +1,5 @@
# systemd-cgtop(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
diff --git a/shell-completion/bash/systemd-delta b/shell-completion/bash/systemd-delta
index cb1732895f..d3933437b3 100644
--- a/shell-completion/bash/systemd-delta
+++ b/shell-completion/bash/systemd-delta
@@ -1,4 +1,5 @@
# systemd-delta(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
diff --git a/shell-completion/bash/systemd-detect-virt b/shell-completion/bash/systemd-detect-virt
index df06c29841..21dca2b966 100644
--- a/shell-completion/bash/systemd-detect-virt
+++ b/shell-completion/bash/systemd-detect-virt
@@ -1,4 +1,5 @@
# systemd-detect-virt(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
diff --git a/shell-completion/bash/systemd-nspawn b/shell-completion/bash/systemd-nspawn
index ea4a5e1f43..4f2fbef84f 100644
--- a/shell-completion/bash/systemd-nspawn
+++ b/shell-completion/bash/systemd-nspawn
@@ -1,4 +1,5 @@
# systemd-nspawn(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
diff --git a/shell-completion/bash/systemd-path b/shell-completion/bash/systemd-path
index 2f0c5f5bd7..5d99775c2d 100644
--- a/shell-completion/bash/systemd-path
+++ b/shell-completion/bash/systemd-path
@@ -1,4 +1,5 @@
# systemd-path(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
diff --git a/shell-completion/bash/systemd-resolve b/shell-completion/bash/systemd-resolve
index f59482fe23..3f789e80d0 100644
--- a/shell-completion/bash/systemd-resolve
+++ b/shell-completion/bash/systemd-resolve
@@ -1,4 +1,5 @@
# systemd-resolve(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
diff --git a/shell-completion/bash/systemd-run b/shell-completion/bash/systemd-run
index 4116ba7eca..125cd306f0 100644
--- a/shell-completion/bash/systemd-run
+++ b/shell-completion/bash/systemd-run
@@ -1,4 +1,5 @@
# systemd-run(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
diff --git a/shell-completion/bash/timedatectl b/shell-completion/bash/timedatectl
index a57fbd2546..b9d00811e3 100644
--- a/shell-completion/bash/timedatectl
+++ b/shell-completion/bash/timedatectl
@@ -1,4 +1,5 @@
# timedatectl(1) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
diff --git a/shell-completion/bash/udevadm b/shell-completion/bash/udevadm
index b828b8dd7c..744a38826b 100644
--- a/shell-completion/bash/udevadm
+++ b/shell-completion/bash/udevadm
@@ -1,4 +1,5 @@
# udevadm(8) completion -*- shell-script -*-
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
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 3e7a4ee803..1103893b09 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 d35c900f10..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()
{
@@ -375,14 +376,14 @@ _arguments -s \
'--system[Connect to system manager]' \
'--user[Connect to user service manager]' \
"--no-wall[Don't send wall message before halt/power-off/reboot]" \
- '--global[Enable/disable unit files globally]' \
+ '--global[Enable/disable/mask unit files globally]' \
"--no-reload[When enabling/disabling unit files, don't reload daemon configuration]" \
'--no-ask-password[Do not ask for system passwords]' \
'--kill-who=[Who to send signal to]:killwho:(main control all)' \
{-s+,--signal=}'[Which signal to send]:signal:_signals' \
{-f,--force}'[When enabling unit files, override existing symlinks. When shutting down, execute action immediately]' \
- '--root=[Enable unit files in the specified root directory]:directory:_directories' \
- '--runtime[Enable unit files only temporarily until next reboot]' \
+ '--root=[Enable/disable/mask unit files in the specified root directory]:directory:_directories' \
+ '--runtime[Enable/disable/mask unit files only temporarily until next reboot]' \
{-H+,--host=}'[Operate on remote host]:userathost:_sd_hosts_or_user_at_host' \
{-P,--privileged}'[Acquire privileges before execution]' \
{-n+,--lines=}'[Journal entries to show]:number of entries' \
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 \
diff --git a/shell-completion/zsh/meson.build b/shell-completion/zsh/meson.build
index 4e7b33a8a7..cf3c556f13 100644
--- a/shell-completion/zsh/meson.build
+++ b/shell-completion/zsh/meson.build
@@ -1,3 +1,20 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
+# Copyright 2017 Zbigniew Jędrzejewski-Szmek
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# systemd is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with systemd; If not, see <http://www.gnu.org/licenses/>.
+
zshcompletiondir = get_option('zshcompletiondir')
if zshcompletiondir == ''
zshcompletiondir = join_paths(datadir, 'zsh/site-functions')