aboutsummaryrefslogtreecommitdiff
path: root/files/.lessfilter.sh
diff options
context:
space:
mode:
Diffstat (limited to 'files/.lessfilter.sh')
-rwxr-xr-xfiles/.lessfilter.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/files/.lessfilter.sh b/files/.lessfilter.sh
index 86d6833..9580bf6 100755
--- a/files/.lessfilter.sh
+++ b/files/.lessfilter.sh
@@ -4,6 +4,7 @@ case $1 in
*.xml) if [ -x `which xmlstarlet 2>/dev/null` ]; then exec xmlstarlet fo "$1"; fi ;;
*.json) if [ -x `which jq 2>/dev/null` ]; then exec jq -C . "$1"; fi ;;
*.md) if [ -x `which pandoc 2>/dev/null` ]; then exec pandoc -t plain "$1"; fi ;;
+ *) exec /bin/lesspipe "$1";;
esac
exit 1