commit - 88e348435e417d1b7c9a8bde88ed93fbb9d98d6e
commit + 4d0927f5969c6f68cf13703cd9bb9d2ce5ea770e
blob - 6fe66f9625f78cc175c0563df047ace12cd4e150
blob + 1745df50d7bed56022ba4363935518bfa50c0fea
--- bin/web
+++ bin/web
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
}