[GRASS-dev] Re: init.sh OSX browser setting

Hamish hamish_nospam at yahoo.com
Sun Mar 11 18:08:03 EDT 2007


> William wrote:
> > >> - alias method - doesn't work, command not found
H:
> > > Probably aliases can be exported to child processes?
W:
> > If you mean:
> > 
> > alias opengrasshelp="open -b com.apple.helpviewer"
> > export opengrasshelp
> > 
> > that didn't work either - still command not found.
G:
> I'm assuming that "can" was a typo; aliases are internal to the shell,
> and cannot be inherited by child processes.

yes, I meant to say the opposite.


so 

  GRASS_HTML_BROWSER="opengrasshelp.sh"

which contains:

  open -b com.apple.helpviewer "$1"

and is placed somewhere in the PATH.


?
Hamish




More information about the grass-dev mailing list