commit 62a980c62110e9a9b7d5bac775b6bfc1156ec1e6 parent dc1618413eb2f29d7f2da746fe776f88dbce200b Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Wed, 12 Jun 2019 21:16:43 +0200 Remove pdfview plugin Diffstat:
D | .config/nnn/plugins/pdfview | | | 12 | ------------ |
1 file changed, 0 insertions(+), 12 deletions(-)
diff --git a/.config/nnn/plugins/pdfview b/.config/nnn/plugins/pdfview @@ -1,12 +0,0 @@ -#!/usr/bin/env sh - -# Description: View a PDF file in pager -# -# Shell: POSIX compliant -# Author: Arun Prakash Jana - -if ! [ -z "$1" ]; then - if [ $(head -c 4 "$1") = "%PDF" ]; then - pdftotext -nopgbrk -layout "$1" - | sed 's/\xe2\x80\x8b//g' | $PAGER - fi -fi