From 54d1d4deb1a3c304333c8772b5d05819cc29ac45 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 21 Sep 2015 17:03:24 -0400 Subject: [PATCH] bash-completion: also complete epub files for calibre-debug This is actually probably somewhat more common than azw3. ;) --- src/calibre/linux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/linux.py b/src/calibre/linux.py index 340770dc51..9f38a888eb 100644 --- a/src/calibre/linux.py +++ b/src/calibre/linux.py @@ -573,7 +573,7 @@ def write_completion(bash_comp_dest, zsh): o_and_w('fetch-ebook-metadata', fem_op, []) o_and_w('calibre-smtp', smtp_op, []) o_and_w('calibre-server', serv_op, []) - o_and_e('calibre-debug', debug_op, ['py', 'recipe', 'mobi', 'azw', 'azw3', 'docx'], file_map={ + o_and_e('calibre-debug', debug_op, ['py', 'recipe', 'epub', 'mobi', 'azw', 'azw3', 'docx'], file_map={ '--tweak-book':['epub', 'azw3', 'mobi'], '--subset-font':['ttf', 'otf'], '--exec-file':['py', 'recipe'],