summaryrefslogtreecommitdiff
path: root/shell-completion
diff options
context:
space:
mode:
authorPaul Seyfert <pseyfert.mathphys@gmail.com>2018-12-25 22:57:23 +0100
committerPaul Seyfert <pseyfert.mathphys@gmail.com>2018-12-25 22:57:23 +0100
commit10dd7e746b9f92dbe2aaae7cd983a15b554f4408 (patch)
tree45b282d17cdd8cce500a1a5451e27c703f4d0475 /shell-completion
parentddc052dc4e866747011abe8afca57a816b19124d (diff)
downloadsystemd-10dd7e746b9f92dbe2aaae7cd983a15b554f4408.tar.gz
zsh/coredumpctl: offer --directory option
After `-D <TAB>` and `--directory=<TAB>` _directories is called to suggest directories.
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/zsh/_coredumpctl1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell-completion/zsh/_coredumpctl b/shell-completion/zsh/_coredumpctl
index 6ed2ca216d..1631eb370e 100644
--- a/shell-completion/zsh/_coredumpctl
+++ b/shell-completion/zsh/_coredumpctl
@@ -40,4 +40,5 @@ _arguments \
{-h,--help}'[Show this help]' \
'--version[Show package version]' \
'--debugger=[Use the given debugger]:debugger: _command_names -e' \
+ {-D,--directory=}'[Use the journal files in the specified dir]:directory: _directories' \
'*::coredumpctl commands:_coredumpctl_command'