blob: 17726a4f6e1efb5328d0f2c116f20500149db41b [file] [log] [blame]
Andrew Jankefce374a2016-12-22 17:40:10 -05001#!/bin/sh
Elliott Hughes44aba642023-09-12 20:18:59 +00002
3zstd=${ZSTD:-zstd}
4
5# TODO: Address quirks and bugs tied to old versions of less, provide a mechanism to pass flags directly to zstd
6
7export LESSOPEN="|-${zstd} -cdfq %s"
8exec less "$@"