aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/web9
1 files changed, 8 insertions, 1 deletions
diff --git a/bin/web b/bin/web
index e8ea86e7..82e8df0e 100755
--- a/bin/web
+++ b/bin/web
@@ -2,7 +2,14 @@
plumbapple()
{
- open "$@"
+ case ${BROWSER:-none} in
+ none)
+ open "$@"
+ ;;
+ *)
+ open -a "$BROWSER" "$@"
+ ;;
+ esac
}
plumbunix()