mirror of
https://github.com/paulirish/git-open.git
synced 2026-09-10 07:26:15 -04:00
for devbox
This commit is contained in:
parent
14fdf5c96e
commit
c0ff3202bc
4
git-open
4
git-open
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue