Under Linux you'd probably use xdg-open URL
which uses the user's preferred browser (and not hardcoded chrome as below).
Tristan
On 05/03/2012 12:08 PM, Galder ZamarreƱo wrote:
Hi,
I've been playing around with a script to speed up pull req sends and I've come
up with this for OSX:
#!/bin/sh
BRANCH=`git branch --no-color | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'`
open -a "Google Chrome" -g
https://github.com/galderz/infinispan/pull/new/${BRANCH}
Basically, takes your local branch and opens a new pull req in the current Google Chrome
instance.
It probably can be enhanced further, thoughts?
Cheers,
--
Galder ZamarreƱo
Sr. Software Engineer
Infinispan, JBoss Cache
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev