aboutsummaryrefslogtreecommitdiff
path: root/.config/lf/pv
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-04-04 19:49:35 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-04-04 19:49:35 +0530
commitb87160aef228469733b68f7eafcdf9deb3ebcbd5 (patch)
tree852a2a8b7332a3d6d90cd5c88321b690fff41885 /.config/lf/pv
parentce611fad09bf6a82910650a6777e042ecd7cb492 (diff)
pushing a basic lf config file
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