about summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2020-05-07 22:22:36 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2020-05-07 22:23:26 +0000
commit8498f8864e1a8f6991bd99c8068991a706cde436 (patch)
treef7b921939ab4e7b29650fa3173a27a5c3d9f6f33 /Completion/Unix
parentab835f0c3792d228e848cac9beb904fca758e073 (diff)
downloadzsh-8498f8864e1a8f6991bd99c8068991a706cde436.tar.gz
zsh-8498f8864e1a8f6991bd99c8068991a706cde436.tar.xz
zsh-8498f8864e1a8f6991bd99c8068991a706cde436.zip
unposted: Use alternation patterns rather than brace expansion
(Cf. discussion on GitLab !12.)
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_pandoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_pandoc b/Completion/Unix/Command/_pandoc
index 29d3724e0..0c0672aaa 100644
--- a/Completion/Unix/Command/_pandoc
+++ b/Completion/Unix/Command/_pandoc
@@ -391,7 +391,7 @@ _arguments -C \
   '--epub-chapter-level=[specify the header level at which to split the EPUB into separate "chapter" files]:number:_pandoc_header_level' \
   '--pdf-engine=[use the specified engine when producing PDF output]:program:_pandoc_pdf_engine' \
   '*--pdf-engine-opt=[use the given string as a command-line argument to the pdf-engine]:string:_pandoc_pdf_engine_opts' \
-  '*--bibliography=[set the bibliography field in the document'"'"'s metadata to FILE]:file:{_files -g "*.{bib,bibtex,copac,json,yaml,enl,xml,wos,medline,mods,ris}"}' \
+  '*--bibliography=[set the bibliography field in the document'"'"'s metadata to FILE]:file:{_files -g "*.(bib|bibtex|copac|json|yaml|enl|xml|wos|medline|mods|ris)"}' \
   '--csl=[set the csl field in the document'"'"'s metadata to FILE]:file:{_files -g "*.csl"}' \
   '--citation-abbreviations=[set the citation-abbreviations field in the document'"'"'s metadata to FILE]:file:_files' \
   '--natbib[use natbib for citations in LaTeX output]' \