logo       

Re: ghci feature suggestion: msg#00106

lang.haskell.glasgow.bugs

Subject: Re: ghci feature suggestion

> > I've been thinking that it would be nice if I could give ghci on the
> > command line a list of commands to run initially when it starts. This
> > way, I could make shell aliases to invoke ghci with project-specific
> > configurations, with the appropriate modules loaded automatically.
> >
> > Is something like this already possible?
>
> GHCi can read commands from a .ghci or $HOME/.ghci files. See the manual
> about that feature:
>
> http://www.haskell.org/ghc/docs/latest/html/users_guide/ghci-dot-files.html
>
> If that's not enough then perhaps you could send in a patch to add
> -with-dot-ghci-file $FILE or something along those lines.

It's not enough because I work on more than one thing at a time, and I
only have one home directory. I think the suggested option would be a
good idea, but unfortunately I don't have time to work on it.

Regards,

Frederik

--
http://ofb.net/~frederik/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise