aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfzf-url.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/fzf-url.sh b/fzf-url.sh
index 37ad3c3..cf3f33b 100755
--- a/fzf-url.sh
+++ b/fzf-url.sh
@@ -13,6 +13,8 @@ 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
+ open_cmd="$BROWSER"
fi
content="$(tmux capture-pane -J -p)"