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