[systemd-devel] [GIT PULL] Split out zsh completion into multiple files

2013-07-29 Thread William Giokas
All,

This patch set splits out the zsh completion into 13 distinct files that
are installed separately, similar to the bash completion system. There
is also a final commit that changes the journalctl completion to work
with the new use of -b/--boot. This also replaces all of the previous
unmerged patches I have sent in since the 24th or so. You can pull from
the git:// url specified, or browse the commits here:

  http://git.kaictl.net/wgiokas/systemd.git/



The following changes since commit 4c4ae27d4d314d0dc1c42cd6bfc7b9ae31660885:

  update TODO (2013-07-29 18:43:57 +0200)

are available in the git repository at:

  git://git.kaictl.net/pub/wgiokas/systemd.git zshcomp

for you to fetch changes up to 8f23e6b43ca9bb1b053419a5b8189cdfc7f5e080:

  shell-comp: Fix journalctl's --boot (2013-07-29 14:40:27 -0500)


William Giokas (15):
  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

 Makefile.am |   31 +-
 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   |  107 +++
 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/_timedatectl   |   71 ++
 shell-completion/zsh/_udevadm   |  141 
 16 files changed, 1184 insertions(+), 1103 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/_timedatectl
 create mode 100644 shell-completion/zsh/_udevadm

-- 
Thanks,
William Giokas | KaiSforza | http://kaictl.net/
GnuPG Key: 0x73CD09CF
Fingerprint: F73F 50EF BBE2 9846 8306  E6B8 6902 06D8 73CD 09CF


pgpltWQjBb7fb.pgp
Description: PGP signature
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [GIT PULL] Split out zsh completion into multiple files

2013-07-29 Thread Michael Biebl
2013/7/29 William Giokas 1007...@gmail.com:
 This patch set splits out the zsh completion into 13 distinct files that
 are installed separately, similar to the bash completion system. There

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?
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [GIT PULL] Split out zsh completion into multiple files

2013-07-29 Thread William Giokas
On Tue, Jul 30, 2013 at 12:05:00AM +0200, Michael Biebl wrote:
 2013/7/29 William Giokas 1007...@gmail.com:
  This patch set splits out the zsh completion into 13 distinct files that
  are installed separately, similar to the bash completion system. There
 
 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.

Thanks,
-- 
William Giokas | KaiSforza | http://kaictl.net/
GnuPG Key: 0x73CD09CF
Fingerprint: F73F 50EF BBE2 9846 8306  E6B8 6902 06D8 73CD 09CF


pgpVj6RMTZk2Y.pgp
Description: PGP signature
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel