logo       

Re: ghci feature suggestion: msg#00111

lang.haskell.glasgow.bugs

Subject: Re: ghci feature suggestion

Frederik Eaton <frederik@xxxxxxxxxxxxxx> wrote:

> > > 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.
> >
> > GHCi can read commands from a .ghci or $HOME/.ghci files.
>
> It's not enough because I work on more than one thing at a time, and I
> only have one home directory.

But you can have a separate .ghci file for every directory you work in.
The config file is read in preference from the current directory before
looking in $HOME.

Regards,
Malcolm


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

News | FAQ | advertise