mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
cc5d335c22
commit
e726ccb5ea
@ -236,8 +236,8 @@ class ZshCompleter(object): # {{{
|
||||
opf_opts=('--opf',), file_map={}):
|
||||
if not self.dest:
|
||||
return
|
||||
exts = sorted(set(exts))
|
||||
extra = ('''"*:filename:_files -g '(#i)*.(%s)" ''' % '|'.join(exts),)
|
||||
exts = sorted({x.lower() for x in exts})
|
||||
extra = ('''"*:filename:_files -g '(#i)*.(%s)'" ''' % '|'.join(exts),)
|
||||
opts = '\\\n '.join(tuple(self.get_options(
|
||||
op(), cover_opts=cover_opts, opf_opts=opf_opts, file_map=file_map)) + extra)
|
||||
txt = '_arguments -s \\\n ' + opts
|
||||
|
Loading…
x
Reference in New Issue
Block a user