#!/nix/store/lw117lsr8d585xs63kx5k233impyrq7q-bash-5.3p3/bin/bash
# Finds first executable browser in a colon-separated list.
# (see how xdg-open defines BROWSER)
browser="$(
  IFS=: ; for b in $BROWSER; do
    [ -n "$(type -P "$b" || true)" ] && echo "$b" && break
  done
)"
if [ -z "$browser" ]; then
  browser="$(type -P xdg-open || true)"
  if [ -z "$browser" ]; then
    browser="/nix/store/60q9lk73ms000wc7b1b3m4x7rn80g5q8-w3m-0.5.5/bin/w3m"
  fi
fi
exec "$browser" /nix/store/pcqrp7k4g1qislyjna9jrdlim3gwcaxi-nixos-manual-html/share/doc/nixos/index.html

