This commit is contained in:
Kovid Goyal 2013-03-02 12:44:36 +05:30
parent a6a8107361
commit bde2a22e35

View File

@ -171,7 +171,7 @@ class ZshCompleter(object): # {{{
arg = ''
if opt.takes_value():
arg = ':"%s":'%h
if opt.dest in {'debug_pipeline', 'to_dir', 'outbox', 'with_library', 'library_path'}:
if opt.dest in {'extract_to', 'debug_pipeline', 'to_dir', 'outbox', 'with_library', 'library_path'}:
arg += "'_path_files -/'"
elif opt.choices:
arg += "(%s)"%'|'.join(opt.choices)