for devbox

This commit is contained in:
lsongseven 2021-11-11 13:21:05 +08:00
parent 14fdf5c96e
commit c0ff3202bc

View file

@ -259,7 +259,7 @@ case $( uname -s ) in
if uname -r | grep -q -i Microsoft; then
open='powershell.exe Start'
else
open='xdg-open'
open='echo'
fi;;
esac
@ -268,7 +268,7 @@ if (( print_only )); then
fi
# Allow printing the url if BROWSER=echo
if [[ $BROWSER != "echo" ]]; then
if [[ $BROWSER != "echo" ]] && [[ $BROWSER != "" ]]; then
exec &>/dev/null
fi