#!/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/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 "$@"
