Browse Source

change polarity of test for BROWSER

master
David Crook 3 years ago committed by Kaleb Elwert
parent
commit
d56d3e5bfc
  1. 2
      modules/git/functions/git-hub-browse

2
modules/git/functions/git-hub-browse

@ -47,7 +47,7 @@ file="$3" @@ -47,7 +47,7 @@ file="$3"
if [[ -n "$url" ]]; then
url="$url/tree/$reference/$file"
if [[ -z "$BROWSER" ]]; then
if [[ -n "$BROWSER" ]]; then
"$BROWSER" "$url"
return 0
else

Loading…
Cancel
Save