diff options
author | rsc <devnull@localhost> | 2005-01-04 21:15:55 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-01-04 21:15:55 +0000 |
commit | 4d0927f5969c6f68cf13703cd9bb9d2ce5ea770e (patch) | |
tree | affe635fcfc93bb226c98eaaec3f16aefbfe5ec7 /bin | |
parent | 88e348435e417d1b7c9a8bde88ed93fbb9d98d6e (diff) | |
download | plan9port-4d0927f5969c6f68cf13703cd9bb9d2ce5ea770e.tar.gz plan9port-4d0927f5969c6f68cf13703cd9bb9d2ce5ea770e.tar.bz2 plan9port-4d0927f5969c6f68cf13703cd9bb9d2ce5ea770e.zip |
modifications for firefox
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/web | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -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 } |