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"
if [[ -n "$url" ]]; then if [[ -n "$url" ]]; then
url="$url/tree/$reference/$file" url="$url/tree/$reference/$file"
if [[ -z "$BROWSER" ]]; then if [[ -n "$BROWSER" ]]; then
"$BROWSER" "$url" "$BROWSER" "$url"
return 0 return 0
else else

Loading…
Cancel
Save