diff options
author | Oliver Kiddle <opk@zsh.org> | 2021-08-29 17:00:05 +0200 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2021-08-29 17:00:05 +0200 |
commit | f529d54f43bdf277be157b5638d89f81cb93a2ee (patch) | |
tree | da56ca232cfef6fb7de8e3955a0117a81012f55b /Completion/X/Command | |
parent | 76de0b05dad2d097979e61749efd0e784644cc47 (diff) | |
download | zsh-f529d54f43bdf277be157b5638d89f81cb93a2ee.tar.gz zsh-f529d54f43bdf277be157b5638d89f81cb93a2ee.tar.xz zsh-f529d54f43bdf277be157b5638d89f81cb93a2ee.zip |
49316: add (-.) glob qualifier to globs where only files are applicable
Diffstat (limited to 'Completion/X/Command')
-rw-r--r-- | Completion/X/Command/_pdftk | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Completion/X/Command/_pdftk b/Completion/X/Command/_pdftk index 1ac3223f7..b26deb15f 100644 --- a/Completion/X/Command/_pdftk +++ b/Completion/X/Command/_pdftk @@ -34,13 +34,11 @@ case $words[CURRENT-1] in ;; (fill_form) - _description files expl 'FDF and XFDF file' - _files "$@" $expl -g '(#i)*.(fdf|xfdf)' + _wanted files expl 'FDF or XFDF file' _files -g '(#i)*.(fdf|xfdf)(-.)' ;; ((multibackground|background|stamp|multistamp|output)) - _description files expl 'PDF file' - _files "$@" $expl -g '(#i)*.pdf' + _pdf ;; (update_info) |