Files

9 lines
197 B
Bash
Raw Permalink Normal View History

2026-08-03 18:42:47 +08:00
#!/bin/sh
zstd=${ZSTD:-zstd}
# TODO: Address quirks and bugs tied to old versions of less, provide a mechanism to pass flags directly to zstd
export LESSOPEN="|-${zstd} -cdfq %s"
exec less "$@"