blob: 17726a4f6e1efb5328d0f2c116f20500149db41b (
plain) (
blame)
1
2
3
4
5
6
7
8
|
#!/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 "$@"
|