From 4d0927f5969c6f68cf13703cd9bb9d2ce5ea770e Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 4 Jan 2005 21:15:55 +0000 Subject: modifications for firefox --- bin/web | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'bin/web') 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 } -- cgit v1.2.3