summaryrefslogtreecommitdiffstats
path: root/shell-completion
diff options
context:
space:
mode:
authorduament <30264485+duament@users.noreply.github.com>2021-07-17 19:17:41 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2021-07-17 23:55:40 +0200
commit3f49d1faf59acaa85aa5ad502c39b1a601d58d26 (patch)
tree9f9bafc56a375404c3a5c84ed4e6b42ccee751a5 /shell-completion
parentMerge pull request #20225 from mrc0mmand/selinux-nspawn-sanity (diff)
downloadsystemd-3f49d1faf59acaa85aa5ad502c39b1a601d58d26.tar.xz
systemd-3f49d1faf59acaa85aa5ad502c39b1a601d58d26.zip
shell-completion/zsh/_systemd-run: Fix completion of command names and arguments
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/zsh/_systemd-run3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell-completion/zsh/_systemd-run b/shell-completion/zsh/_systemd-run
index cd0ad8245f..934834b94b 100644
--- a/shell-completion/zsh/_systemd-run
+++ b/shell-completion/zsh/_systemd-run
@@ -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'