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

Wieland Hoffmann themineo at gmail.com
Mon Mar 10 07:17:31 PDT 2014


_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 += \
 	src/machine/org.freedesktop.machine1.conf
 
 dist_zshcompletion_DATA += \
-	shell-completion/zsh/_machinectl
+	shell-completion/zsh/_machinectl \
+	shell-completion/zsh/_sd_machines
 
 SYSTEM_UNIT_ALIASES += \
 	systemd-machined.service dbus-org.freedesktop.machine1.service
-- 
1.9.0



More information about the systemd-devel mailing list