[systemd-devel] [PATCH] _systemctl.in: Do not interpret escape sequences in _filter_units_by_property

2015-01-16 Thread Wieland Hoffmann
This makes all functions that rely on _f_u_b_p (like _systemctl_{stop,kill,try_restart}) work with unit names that contain backslash escaped sequences (like automount units with spaces that are escaped to "\x20"). --- shell-completion/zsh/_systemctl.in | 2 +- 1 file changed, 1 insertion(+), 1 del

[systemd-devel] [PATCH 2/2] _sd_machines: Use machinectl --no-legend

2014-03-10 Thread Wieland Hoffmann
Otherwise bogus entries from the header and footer would show up in the completion list. --- shell-completion/zsh/_sd_machines | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell-completion/zsh/_sd_machines b/shell-completion/zsh/_sd_machines index 1d64d13..a0039ee 100644 --

[systemd-devel] Fix machinectls machine completion

2014-03-10 Thread Wieland Hoffmann
Hi, the following two patches fix machinectls machine name completion by actually installing the required _sd_machines file using machinectls --no-legend switch to prevent bogus entries from appearing in the list of machines. -- Wieland ___ systemd-de

[systemd-devel] [PATCH 1/2] zsh completion: Install _sd_machines with _machinectl

2014-03-10 Thread Wieland Hoffmann
_machinectl uses _sd_machines to provide a list of all available machines. --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 2db58a9..2775c99 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4030,7 +4030,8 @@ dist_dbuspolicy_DATA +=