summaryrefslogtreecommitdiff
path: root/shell-completion
diff options
context:
space:
mode:
authorPaul Seyfert <pseyfert.mathphys@gmail.com>2018-12-25 19:30:50 +0100
committerPaul Seyfert <pseyfert.mathphys@gmail.com>2018-12-25 19:30:50 +0100
commitddc052dc4e866747011abe8afca57a816b19124d (patch)
treed1a8683be1ba6776e8ea1d338fc4e173ac2032bd /shell-completion
parent8eab766804ef4fa21d26c00fd0baab3f1a47bb5c (diff)
downloadsystemd-ddc052dc4e866747011abe8afca57a816b19124d.tar.gz
zsh/coredumpctl: complete argument for --debugger=
This way external commands (i.e. executables in the PATH) are suggested at --debugger=<TAB>. Upon starting a path (e.g. --debugger=/<TAB> or --debugger=./<TAB>), filenames of executables are completed.
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/zsh/_coredumpctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/zsh/_coredumpctl b/shell-completion/zsh/_coredumpctl
index cf24f5b361..6ed2ca216d 100644
--- a/shell-completion/zsh/_coredumpctl
+++ b/shell-completion/zsh/_coredumpctl
@@ -39,5 +39,5 @@ _arguments \
'--no-legend[Do not print the column headers]' \
{-h,--help}'[Show this help]' \
'--version[Show package version]' \
- '--debugger=[Use the given debugger]' \
+ '--debugger=[Use the given debugger]:debugger: _command_names -e' \
'*::coredumpctl commands:_coredumpctl_command'