#!/usr/bin/env bash #colors help() { cat <>$DIR" echo "opening $URL using $BROWSER" $BROWSER $URL > /dev/null 2>&1 & # first change directory in case python<3.7 ssh -tL localhost:$PORT:localhost:$PORT $USER_HOST \ "cd $DIR && python3 -m http.server $PORT"