#!/nix/store/bjgin92cgcn3gyyxaj28gc5vnf14lwgg-bash-static-x86_64-unknown-linux-musl-5.3p3/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 "$@"
