diff options
author | Clint Adams <clint@users.sourceforge.net> | 2005-04-11 18:12:51 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2005-04-11 18:12:51 +0000 |
commit | bd718425bb41f08fb9d06968b339455abb37e2dd (patch) | |
tree | e02a08a07d6adacb86d12ee762ce81e67eb8d503 /Completion/Unix | |
parent | 7b9cff2754dc7f9d0106b936d6d716148040f1e1 (diff) | |
download | zsh-bd718425bb41f08fb9d06968b339455abb37e2dd.tar.gz zsh-bd718425bb41f08fb9d06968b339455abb37e2dd.tar.xz zsh-bd718425bb41f08fb9d06968b339455abb37e2dd.zip |
* 21132: Completion/Unix/Type/_pdf, Completion/X/Command/_xpdf:
complete xpdf options, and also complete .pdf.bz2 files when completing compressed PDF files.
Diffstat (limited to 'Completion/Unix')
-rw-r--r-- | Completion/Unix/Type/_pdf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Type/_pdf b/Completion/Unix/Type/_pdf index 386135e7c..95cda4dfd 100644 --- a/Completion/Unix/Type/_pdf +++ b/Completion/Unix/Type/_pdf @@ -1,4 +1,4 @@ -#compdef pdf2dsc pdf2ps pdfimages pdfinfo pdftopbm pdftops pdftotext xpdf pdfopt pdffonts kpdf +#compdef pdf2dsc pdf2ps pdfimages pdfinfo pdftopbm pdftops pdftotext pdfopt pdffonts kpdf local expl ext='' @@ -8,7 +8,7 @@ local expl ext='' # pdfimages pdfinfo pdftopbm pdftops pdftotext xpdf pdffonts if [[ "$1" == '-z' ]]; then - ext='(|.gz|.Z)' + ext='(|.gz|.bz2|.Z)' shift fi |