[systemd-devel] [PATCH] zsh_completion: Move helper function to autoload

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Wed Aug 14 19:43:42 PDT 2013


On Mon, Aug 12, 2013 at 12:41:18PM -0500, William Giokas wrote:
> _hosts_or_user_at_host was used by 6 different completions, and
> previously was in all 6 of those files. I moved it out to its own file,
> _sd_hosts_or_user_at_host. This will be autoloaded for use in other
> completion functions. It also allows external completions to use this
> function by simply calling _sd_hosts_or_user_at_host as in the systemd
> completions.
Applied.

Zbyszek


More information about the systemd-devel mailing list