#!/nix/store/x4vnpb1qh4q1xxqc9liidd03ynh8h2db-bash-5.2p37/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 "$@"
