On 15 December 2014, Joydeep Chakrabarty <chalao.adda@gmail.com> wrote:
> LCD 47 wrote:
>
>
> >     Since you're on Linux: replace firefox above with a script that
> > looks like this:
> > 
> >         #! /bin/sh
> >         PATH=/usr/local/bin:/bin/usr/bin
> >         firefox -newtab "$@" || firefox "$@" &
> > 
> >     /lcd
> > 
> 
> As you mentioned, I created a script with executable permission. But
> Firefox always opens my homepage(google.com), no matter what url I
> pass to the shell script.
    Hmm, as far as I can tell this should have worked.  Perhaps try the
old way:
        #! /bin/sh
        PATH=/usr/local/bin:/bin/usr/bin
        firefox -remote "openurl($1)" || firefox "$1" &
    /lcd
-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
--- 
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Monday, December 15, 2014
Subscribe to:
Post Comments (Atom)
 
No comments:
Post a Comment