[systemd-devel] [GIT PULL v3] Split out zsh completion into multiple files
William Giokas
1007380 at gmail.com
Tue Jul 30 17:18:47 PDT 2013
On Mon, Jul 29, 2013 at 05:10:34PM -0500, William Giokas wrote:
> On Tue, Jul 30, 2013 at 12:05:00AM +0200, Michael Biebl wrote:
> > One of the main reasons why the bash completion was split into
> > separate files named after the individual binary, is that
> > bash-completion will load the completions on demand this way.
> >
> > What's the benefit of splitting the zsh completion?
>
> The bash completion was also split so that not all of the completions
> were installed if they weren't needed. If you configure systemd without
> xyz binary, the _xyz completion will not install, for the most part.
Completing even more of the split for all of the ./configure-able parts
of systemd, _systemd-tmpfiles is now only installed if the binary
systemd-tmpfiles is as well.
You can review the changes in cgit here:
http://git.kaictl.net/wgiokas/systemd.git/?h=zshcomp3
----------------------------------------------------------------
The following changes since commit b5b7ea750388919eee6087eb63f08903b57447cf:
bash-completion: simplify udevadm completion (2013-07-30 13:04:46 -0400)
are available in the git repository at:
git://git.kaictl.net/pub/wgiokas/systemd.git zshcomp3
for you to fetch changes up to 2024edb417201f7b3b2adcfd12de5e4680dd2e09:
shell-comp: Split out zsh _systemd-tmpfiles (2013-07-30 19:12:35 -0500)
----------------------------------------------------------------
William Giokas (16):
shell-completion: fix zsh completion installation
shell-comp: Split out zsh _systemctl
shell-comp: Split out zsh _loginctl
shell-comp: Split out zsh _hostnamectl
shell-comp: Split out zsh _journalctl
shell-comp: Split out zsh _localectl
shell-comp: Split out zsh _coredumpctl
shell-comp: Split out zsh _timedatectl
shell-comp: Split out zsh _udevadm
shell-comp: Split out zsh _systemd-nspawn
shell-comp: Split out zsh _systemd-inhibit
shell-comp: Split out zsh _systemd-analyze
shell-comp: Split out zsh _machinectl
shell-comp: Remove unused functions
shell-comp: Fix journalctl's --boot
shell-comp: Split out zsh _systemd-tmpfiles
Makefile.am | 35 +-
configure.ac | 6 +
shell-completion/systemd-zsh-completion.zsh | 1102 ---------------------------
shell-completion/zsh/_hostnamectl | 38 +
shell-completion/zsh/_journalctl | 92 +++
shell-completion/zsh/_localectl | 89 +++
shell-completion/zsh/_loginctl | 112 +++
shell-completion/zsh/_machinectl | 47 ++
shell-completion/zsh/_systemctl | 340 +++++++++
shell-completion/zsh/_systemd | 97 +++
shell-completion/zsh/_systemd-analyze | 26 +
shell-completion/zsh/_systemd-coredumpctl | 34 +
shell-completion/zsh/_systemd-inhibit | 27 +
shell-completion/zsh/_systemd-nspawn | 24 +
shell-completion/zsh/_systemd-tmpfiles | 10 +
shell-completion/zsh/_timedatectl | 71 ++
shell-completion/zsh/_udevadm | 141 ++++
17 files changed, 1186 insertions(+), 1105 deletions(-)
delete mode 100644 shell-completion/systemd-zsh-completion.zsh
create mode 100644 shell-completion/zsh/_hostnamectl
create mode 100644 shell-completion/zsh/_journalctl
create mode 100644 shell-completion/zsh/_localectl
create mode 100644 shell-completion/zsh/_loginctl
create mode 100644 shell-completion/zsh/_machinectl
create mode 100644 shell-completion/zsh/_systemctl
create mode 100644 shell-completion/zsh/_systemd
create mode 100644 shell-completion/zsh/_systemd-analyze
create mode 100644 shell-completion/zsh/_systemd-coredumpctl
create mode 100644 shell-completion/zsh/_systemd-inhibit
create mode 100644 shell-completion/zsh/_systemd-nspawn
create mode 100644 shell-completion/zsh/_systemd-tmpfiles
create mode 100644 shell-completion/zsh/_timedatectl
create mode 100644 shell-completion/zsh/_udevadm
--
William Giokas | KaiSforza | http://kaictl.net/
GnuPG Key: 0x73CD09CF
Fingerprint: F73F 50EF BBE2 9846 8306 E6B8 6902 06D8 73CD 09CF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20130730/56db3bbc/attachment.pgp>
More information about the systemd-devel
mailing list