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 18:17:12 +0200 |
commit | aa29dccbc1f9e61b79e4d028785fb8d76b3d699f (patch) | |
tree | b38872d5d7759684c8b63eb753e4db75437bd540 | |
parent | cba870644ec51d194151e89895e78adf09a9bf9f (diff) | |
download | systemd-aa29dccbc1f9e61b79e4d028785fb8d76b3d699f.tar.gz |
shell-completion/zsh/_systemd-run: Fix completion of command names and arguments
(cherry picked from commit 3f49d1faf59acaa85aa5ad502c39b1a601d58d26)
(cherry picked from commit b511a441f3277750e68a14d8d7e6649c4f182b86)
(cherry picked from commit cb5564aea24d6d92716bdd0c06d1a2d7b91a1c71)
(cherry picked from commit 55f79382622187834113dcbce9166b778da3d62c)
-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 406612f83a..a56e575f5f 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' |