1
0
Fork 0
mirror of https://github.com/jarun/nnn.git synced 2025-04-15 09:56:32 +00:00

also send mutool to $PAGER ()

This commit is contained in:
basbebe 2020-05-30 15:18:12 +02:00 committed by GitHub
parent 309ed0ed67
commit 3feae709ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"