1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00
systemd/shell-completion/zsh
Zbigniew Jędrzejewski-Szmek 349cc4a507 build-sys: use #if Y instead of #ifdef Y everywhere
The advantage is that is the name is mispellt, cpp will warn us.

$ git grep -Ee "conf.set\('(HAVE|ENABLE)_" -l|xargs sed -r -i "s/conf.set\('(HAVE|ENABLE)_/conf.set10('\1_/"
$ git grep -Ee '#ifn?def (HAVE|ENABLE)' -l|xargs sed -r -i 's/#ifdef (HAVE|ENABLE)/#if \1/; s/#ifndef (HAVE|ENABLE)/#if ! \1/;'
$ git grep -Ee 'if.*defined\(HAVE' -l|xargs sed -i -r 's/defined\((HAVE_[A-Z0-9_]*)\)/\1/g'
$ git grep -Ee 'if.*defined\(ENABLE' -l|xargs sed -i -r 's/defined\((ENABLE_[A-Z0-9_]*)\)/\1/g'
+ manual changes to meson.build

squash! build-sys: use #if Y instead of #ifdef Y everywhere

v2:
- fix incorrect setting of HAVE_LIBIDN2
2017-10-04 12:09:29 +02:00
..
_bootctl zsh-completion: fix typo in _bootctl 2015-06-01 12:07:19 +02:00
_busctl shell-completion: fix header 2016-02-06 17:54:48 -05:00
_coredumpctl shell-completion: include the new coredumpctl options 2017-02-24 21:30:59 +02:00
_hostnamectl hostname: add 'convertible' chassis type 2017-02-28 11:54:52 +01:00
_journalctl zsh-completion: _journalctl fixes (#5165) 2017-01-27 09:50:40 -03:00
_kernel-install zsh-completions: kernel-install - only show existing kernels for 'remove' 2014-02-07 15:48:35 +01:00
_localectl zsh-completion: fix option ordering in set-x11-keymap (#3646) 2016-07-15 04:59:45 -04:00
_loginctl zsh-completion: _loginctl/_systemd/_systemd-inhibit improvements 2015-06-22 18:07:32 -04:00
_machinectl machinectl: Added stop as alias for poweroff (#3406) 2016-06-06 17:06:20 +02:00
_networkctl Add networkctl label to man and shell completion 2017-06-27 10:30:41 -04:00
_sd_hosts_or_user_at_host zsh_completion: Move helper function to autoload 2013-08-14 22:42:56 -04:00
_sd_machines _sd_machines: Use machinectl --no-legend 2014-03-15 00:32:06 -04:00
_sd_outputmodes Add short-iso-precise for journalctl output (#5884) 2017-05-07 20:23:49 -04:00
_sd_unit_files Drop busname unit type 2017-07-23 09:29:02 -04:00
_systemctl.in zsh: add completion for add-wants and add-requires (#6082) 2017-06-06 21:32:15 -04:00
_systemd cgroup: remove support for NetClass= directive 2016-02-10 16:38:56 +01:00
_systemd-analyze analyze: add get-log-level, get-log-target verbs 2017-09-07 23:55:59 +02:00
_systemd-delta zsh_completion: Fix single letter args 2013-08-23 12:48:14 -04:00
_systemd-inhibit zsh-completion: _loginctl/_systemd/_systemd-inhibit improvements 2015-06-22 18:07:32 -04:00
_systemd-nspawn nspawn-completion: implementation of shell completion of --notify-ready (#3679) 2016-07-08 17:44:20 +02:00
_systemd-resolve systemd-resolve: initial shell completion 2016-02-18 11:50:53 -05:00
_systemd-run zsh-completion: fix typo and rephrase option hints (#4963) 2016-12-23 14:37:28 +01:00
_systemd-tmpfiles zsh-completion: add missing completions for systemd-tmpfiles 2015-01-12 22:19:34 +01:00
_timedatectl zsh-completion: add missing -M completion for timedatectl 2015-01-12 21:31:45 +01:00
_udevadm zsh: don't mention /etc/mtab 2015-10-09 17:20:32 +02:00
meson.build build-sys: use #if Y instead of #ifdef Y everywhere 2017-10-04 12:09:29 +02:00