From 3f49d1faf59acaa85aa5ad502c39b1a601d58d26 Mon Sep 17 00:00:00 2001 From: duament <30264485+duament@users.noreply.github.com> Date: Sun, 18 Jul 2021 01:17:41 +0800 Subject: [PATCH] shell-completion/zsh/_systemd-run: Fix completion of command names and arguments --- shell-completion/zsh/_systemd-run | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'