From b87160aef228469733b68f7eafcdf9deb3ebcbd5 Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Sun, 4 Apr 2021 19:49:35 +0530 Subject: pushing a basic lf config file --- .config/lf/pv | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .config/lf/pv (limited to '.config/lf/pv') diff --git a/.config/lf/pv b/.config/lf/pv new file mode 100644 index 0000000..9330eed --- /dev/null +++ b/.config/lf/pv @@ -0,0 +1,9 @@ +#!bin/sh +case "$1" in + *.tar*) tar tf "$1";; + *.zip) unzip -l "$1";; + *.rar) unrar l "$1";; + *.7z) 7z l "$1";; + *.pdf) pdftotext "$1" -;; + *) highlight -O ansi "$1";; +esac -- cgit v1.2.3