]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
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:01:54 +0000 (18:01 +0200)
(cherry picked from commit 3f49d1faf59acaa85aa5ad502c39b1a601d58d26)
(cherry picked from commit b511a441f3277750e68a14d8d7e6649c4f182b86)
(cherry picked from commit cb5564aea24d6d92716bdd0c06d1a2d7b91a1c71)

shell-completion/zsh/_systemd-run

index cd0ad8245f7579b4db928ac4bfdc0843af69c3f8..934834b94be8571cd4b473c1181b23b70df1e90e 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'