let python pick the browser
This commit is contained in:
parent
6ab25d83cd
commit
88ac7021fc
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ printf " ${BOLD}->>${CYAN} %s${END}\n" "${DIR}"
|
||||||
|
|
||||||
printf "opening ${BOLD}%s${END} using %s\n" "$URL" "$BROWSER"
|
printf "opening ${BOLD}%s${END} using %s\n" "$URL" "$BROWSER"
|
||||||
echo '---------------'
|
echo '---------------'
|
||||||
"$BROWSER" "$URL" >/dev/null 2>&1 &
|
python -m webbrowser "$URL" >/dev/null 2>&1 &
|
||||||
|
|
||||||
# first change directory in case python<3.7
|
# first change directory in case python<3.7
|
||||||
ssh -tL localhost:"$PORT":localhost:"$PORT" "$USER_HOST" \
|
ssh -tL localhost:"$PORT":localhost:"$PORT" "$USER_HOST" \
|
||||||
|
|
Loading…
Reference in a new issue