aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2012-10-20 13:28:46 -0400
committerRuss Cox <rsc@swtch.com>2012-10-20 13:28:46 -0400
commit53527a6e7864f5d681d7140f1403d4d8d42311d5 (patch)
treeac057009d2e790f378746328155c7a3c1106513b
parent83d065a6b30f0e89af3d04e26568fc93b98e6604 (diff)
downloadplan9port-53527a6e7864f5d681d7140f1403d4d8d42311d5.tar.gz
plan9port-53527a6e7864f5d681d7140f1403d4d8d42311d5.tar.bz2
plan9port-53527a6e7864f5d681d7140f1403d4d8d42311d5.zip
web: fix BROWSER=google-chrome on Mac
R=rsc http://codereview.appspot.com/6750046
-rwxr-xr-xbin/web3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/web b/bin/web
index c4bb51bc..8c6fdd4d 100755
--- a/bin/web
+++ b/bin/web
@@ -6,6 +6,9 @@ plumbapple()
none)
open "$@"
;;
+ *google-chrome*)
+ open -a "Google Chrome" "$@"
+ ;;
*)
open -a "$BROWSER" "$@"
;;