aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfzf-url.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/fzf-url.sh b/fzf-url.sh
index cf3f33b..09be041 100755
--- a/fzf-url.sh
+++ b/fzf-url.sh
@@ -13,7 +13,7 @@ if hash xdg-open &>/dev/null; then
open_cmd='nohup xdg-open'
elif hash open &>/dev/null; then
open_cmd='open'
-elif [[ -v BROWSER ]]; then
+elif [[ -n $BROWSER ]]; then
open_cmd="$BROWSER"
fi