#!/bin/sh # see ../lynx/README.md for configs lynxpath=/usr/bin/lynx echo "lynxpath is $lynxpath" if [ -e "$HOME/.config/lynx/lynx.cfg" ];then export LYNX_CFG="$HOME/.config/lynx/lynx.cfg" fi if [ -e "$HOME/.config/lynx/lynx.lss" ];then export LYNX_LSS="$HOME/.config/lynx/lynx.lss" fi if [ ! -x "$lynxpath" ]; then echo "lynxpath is set to $lynxpath but it doesn't look like lynx is installed." exit 1 fi exec "$lynxpath" "$@"