mirror of
https://github.com/jarun/nnn.git
synced 2024-11-27 21:31:30 +00:00
also send mutool to $PAGER (#615)
This commit is contained in:
parent
309ed0ed67
commit
3feae709ac
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue