zsh/coredumpctl: offer --directory option
authorPaul Seyfert <pseyfert.mathphys@gmail.com>
Tue, 25 Dec 2018 21:57:23 +0000 (22:57 +0100)
committerPaul Seyfert <pseyfert.mathphys@gmail.com>
Tue, 25 Dec 2018 21:57:23 +0000 (22:57 +0100)
After `-D <TAB>` and `--directory=<TAB>` _directories is called to
suggest directories.

shell-completion/zsh/_coredumpctl

index 6ed2ca2..1631eb3 100644 (file)
@@ -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'