commit - 362264eb516483d6e2f45ba1e0ab6bcaf2d4f0ee
commit + 6c99870701d4a71d429a26f357859416c875b2fb
blob - 0f24e08e34a1a13f62aed08e30fd8cb2ea219521
blob + 10f59dd713ed4b1e40cbd8484af4545a2d6821bd
--- bin/web
+++ bin/web
' | osascript
}
+plumbcamino()
+{
+ echo '
+ tell application "Camino"
+ activate
+ tell application "System Events"
+ tell process "camino"
+ keystroke "t" using {command down}
+ end tell
+ end tell
+ Get URL "'$1'"
+ end tell
+ ' | osascript
+}
+
plumbapple()
{
case ${BROWSER:-none} in
safari)
plumbsafari "$@"
;;
+ camino)
+ plumbcamino "$@"
+ ;;
none)
- if [ -d /Applications/Firefox.app ]
+ if [ -d /Applications/Camino.app ]
then
+ plumbcamino "$@"
+ elif [ -d /Applications/Firefox.app ]
+ then
plumbfirefox "$@"
else
plumbsafari "$@"
blob - 0910747e415f6da40c6321436c6e3440701155c7
blob + 06d304df1132416c78cbdcfa49e5c8750e8e8dcf
--- man/man1/web.1
+++ man/man1/web.1
.PP
When run under Mac OS X,
.B $BROWSER
-should be set to the string
-.B safari
+should be set to
+.B camino ,
+.B firefox ,
or
-.BR firefox .
+.BR safari .
.I Web
uses AppleScript to talk to the browser.
If