shell-completion/zsh/_systemd-run: Fix completion of command names and arguments
authorduament <30264485+duament@users.noreply.github.com>
Sat, 17 Jul 2021 17:17:41 +0000 (01:17 +0800)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 20 Jul 2021 16:17:12 +0000 (18:17 +0200)
(cherry picked from commit 3f49d1faf59acaa85aa5ad502c39b1a601d58d26)
(cherry picked from commit b511a441f3277750e68a14d8d7e6649c4f182b86)
(cherry picked from commit cb5564aea24d6d92716bdd0c06d1a2d7b91a1c71)
(cherry picked from commit 55f79382622187834113dcbce9166b778da3d62c)

shell-completion/zsh/_systemd-run

index 406612f83a0b20670e6eed7fabcb86bb7a543438..a56e575f5f646edc7d16e9a6b647b46db0405ea8 100644 (file)
@@ -77,4 +77,5 @@ _arguments \
     '--version[Show package version]' \
     '--wait=[Wait until service stopped again]' \
     '--working-directory=[Run with the specified working directory]' \
-    '*::command:_command'
+    '(-):command: _command_names -e' \
+    '*::arguments:_normal'