summaryrefslogtreecommitdiffstats
path: root/shell/zsh-completion
diff options
context:
space:
mode:
authorGiancarlo Razzolini <grazzolini@archlinux.org>2019-10-07 04:50:25 +0200
committerGiancarlo Razzolini <grazzolini@archlinux.org>2019-10-07 04:50:25 +0200
commit51a8337b6c461ac29710664ed084c99f57c4118a (patch)
tree32d6ee5d5a5ec799e295e96f7bed516baac793d1 /shell/zsh-completion
parentf1e756f78d0e87d422abe6b3bcd5bff61442cc2b (diff)
downloadmkinitcpio-51a8337b6c461ac29710664ed084c99f57c4118a.tar.gz
mkinitcpio-51a8337b6c461ac29710664ed084c99f57c4118a.tar.xz
Add the hookdir option to both bash and zsh completion files
Diffstat (limited to 'shell/zsh-completion')
-rw-r--r--shell/zsh-completion1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/zsh-completion b/shell/zsh-completion
index 4d1e435..587e3b2 100644
--- a/shell/zsh-completion
+++ b/shell/zsh-completion
@@ -39,6 +39,7 @@ case $service in
_arguments : \
'(-A --addhooks)'{-A,--addhooks}'[Add specified hooks, comma separated, to image]::usr hooks:_path_files -W /usr/lib/initcpio/install::lib hooks:_path_files -W /lib/initcpio/install' \
'(-c --config)'{-c,--config}'[Use alternate config file. (default: /etc/mkinitcpio.conf)]:config files:_files' \
+ '(-D --hookdir)'{-D,--hookdir}'[Specify where to look for hooks.]:directories:_files -/' \
'(-g --generate)'{-g,--generate}'[Generate cpio image and write to specified path]:config files:_files' \
'(-H --hookhelp)'{-H,--hookhelp}'[Display help for given hook and exit]::usr hooks:_path_files -W /usr/lib/initcpio/install::lib hooks:_path_files -W /lib/initcpio/install' \
'(-h --help)'{-h,--help}'[Display this message and exit]' \