|
Re: ghci feature suggestion: msg#00105lang.haskell.glasgow.bugs
On Wed, 2006-08-16 at 17:45 +0100, Frederik Eaton wrote: > Hi, > > 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. Duncan
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | ghci feature suggestion, Frederik Eaton |
|---|---|
| Next by Date: | Re: ghci feature suggestion, Frederik Eaton |
| Previous by Thread: | ghci feature suggestion, Frederik Eaton |
| Next by Thread: | Re: ghci feature suggestion, Frederik Eaton |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |