From d56d3e5bfc355ee1c5a0c06288f2df668e1eb11d 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