From ecaed1cfa7591d2304d7eb5d69b42b54961a7145 Mon Sep 17 00:00:00 2001 From: David Crook Date: Tue, 16 Nov 2021 10:49:33 -0700 Subject: [PATCH] change polarity of test for BROWSER --- modules/git/functions/git-hub-browse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/git/functions/git-hub-browse b/modules/git/functions/git-hub-browse index bdeb298..3451198 100644 --- a/modules/git/functions/git-hub-browse +++ b/modules/git/functions/git-hub-browse @@ -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