aboutsummaryrefslogtreecommitdiff
path: root/.config/lf/pv
diff options
context:
space:
mode:
authorVidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com>2021-04-08 16:41:50 +0530
committerVidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com>2021-04-08 16:41:50 +0530
commit6e9091e26593a145e6350a01bad53f26acea75a1 (patch)
tree2d841fa503d20560d2f6e57a33c8ded65d817be8 /.config/lf/pv
parentf94c1202afce479d61ff833d8cd05fe417c98288 (diff)
pushing all the dotfiles again
Diffstat (limited to '.config/lf/pv')
-rw-r--r--.config/lf/pv9
1 files changed, 9 insertions, 0 deletions
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