diff options
Diffstat (limited to '3rdparty/zstd/programs/zstdless')
-rwxr-xr-x | 3rdparty/zstd/programs/zstdless | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/3rdparty/zstd/programs/zstdless b/3rdparty/zstd/programs/zstdless new file mode 100755 index 00000000000..17726a4f6e1 --- /dev/null +++ b/3rdparty/zstd/programs/zstdless @@ -0,0 +1,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 "$@" |