diff options
author | duament <30264485+duament@users.noreply.github.com> | 2021-07-18 01:17:41 +0800 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-07-20 14:44:31 +0200 |
commit | b511a441f3277750e68a14d8d7e6649c4f182b86 (patch) | |
tree | ce59e7b6ff4dfe359e15e08ad139d0a699ca534a | |
parent | d4ce78bfa3d90cc4601d1cbb0b51af32fe8f4b2a (diff) | |
download | systemd-b511a441f3277750e68a14d8d7e6649c4f182b86.tar.gz |
shell-completion/zsh/_systemd-run: Fix completion of command names and arguments
(cherry picked from commit 3f49d1faf59acaa85aa5ad502c39b1a601d58d26)
-rw-r--r-- | shell-completion/zsh/_systemd-run | 3 |
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' |