]> Sergey Matveev's repositories - nnn.git/commitdiff
also send mutool to $PAGER (#615)
authorbasbebe <7083188+basbebe@users.noreply.github.com>
Sat, 30 May 2020 13:18:12 +0000 (15:18 +0200)
committerGitHub <noreply@github.com>
Sat, 30 May 2020 13:18:12 +0000 (18:48 +0530)
plugins/nuke

index 1d2cd688e246b545817e53306811a8c71816ed89..39c63243a7ee75d0a3980801a73fc68aead0ed28 100755 (executable)
@@ -92,7 +92,7 @@ handle_pdf() {
         pdftotext -l 10 -nopgbrk -q -- "${FPATH}" - | eval "$PAGER"
         exit 0
     elif which mutool >/dev/null 2>&1; then
-        mutool draw -F txt -i -- "${FPATH}" 1-10
+        mutool draw -F txt -i -- "${FPATH}" 1-10 | eval "$PAGER"
         exit 0
     elif which exiftool >/dev/null 2>&1; then
         exiftool "${FPATH}" | eval "$PAGER"