aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/web17
1 files changed, 12 insertions, 5 deletions
diff --git a/bin/web b/bin/web
index 6fe66f96..1745df50 100755
--- a/bin/web
+++ b/bin/web
@@ -2,20 +2,27 @@
plumb1()
{
- case $BROWSER in
+ case x-$BROWSER in
# Other browsers here
# ...
*opera*)
- $BROWSER -remote 'openURL('$i', new-page)'
+ $BROWSER -remote 'openURL('$i',new-page)'
;;
*firebird*)
- $BROWSER -remote 'openURL('$i', new-window)'
+ $BROWSER -remote 'openURL('$i',new-window)'
;;
*firefox*)
- $BROWSER -remote 'openURL('$i', new-tab)'
+ $BROWSER -remote 'openURL('$i',new-tab)'
+ ;;
+ x-)
+ # run firefox as default!
+ firefox -remote 'openURL('$i',new-tab)'
;;
*mozilla*)
- $BROWSER -remote 'openURL('$i', new-tab)'
+ $BROWSER -remote 'openURL('$i',new-tab)'
+ ;;
+ x-*)
+ $BROWSER -remote 'openURL('$i',new-tab)'
;;
esac
}