mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
...
This commit is contained in:
parent
20553e8234
commit
8b42cae6e4
@ -240,7 +240,7 @@ class ZshCompleter(object): # {{{
|
|||||||
if not self.dest:
|
if not self.dest:
|
||||||
return
|
return
|
||||||
exts = sorted(set(exts))
|
exts = sorted(set(exts))
|
||||||
extra = (''''*:filename:_files -g '(#i)*.(%s)' ''' % '|'.join(exts),)
|
extra = ('''"*:filename:_files -g '(#i)*.(%s)" ''' % '|'.join(exts),)
|
||||||
opts = '\\\n '.join(tuple(self.get_options(
|
opts = '\\\n '.join(tuple(self.get_options(
|
||||||
op(), cover_opts=cover_opts, opf_opts=opf_opts, file_map=file_map)) + extra)
|
op(), cover_opts=cover_opts, opf_opts=opf_opts, file_map=file_map)) + extra)
|
||||||
txt = '_arguments -s \\\n ' + opts
|
txt = '_arguments -s \\\n ' + opts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user