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