]> 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)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sat, 17 Jul 2021 21:55:40 +0000 (22:55 +0100)
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'