From ed5e17d0a40c2429da9f694eb011adc41a9c56c6 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Tue, 1 Dec 2020 13:31:26 -0800 Subject: [PATCH] completions: consider *.PDF and some images too --- misc/completion/ocrmypdf.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/completion/ocrmypdf.fish b/misc/completion/ocrmypdf.fish index fd3d41a8..31e30b2a 100644 --- a/misc/completion/ocrmypdf.fish +++ b/misc/completion/ocrmypdf.fish @@ -135,4 +135,4 @@ complete -c ocrmypdf -r -l user-words -d "specify location of user words file" complete -c ocrmypdf -r -l user-patterns -d "specify location of user patterns file" complete -c ocrmypdf -x -l fast-web-view -d "if file size if above this amount in MB, linearize PDF" -complete -c ocrmypdf -x -a "(__fish_complete_suffix .pdf)" +complete -c ocrmypdf -x -a "(__fish_complete_suffix .pdf; __fish_complete_suffix .PDF; __fish_complete_suffix .jpg; __fish_complete_suffix .png)"