[Haskell-cafe] .ghci files (Was: ANN: cabal-ghci 0.1)
mail at joachim-breitner.de
Sat Sep 10 18:51:01 CEST 2011
Am Samstag, den 10.09.2011, 11:26 +0200 schrieb Erik Hesselink:
> On Fri, Sep 9, 2011 at 22:17, Jason Dagit <dagitj at gmail.com> wrote:
> > On Thu, Sep 8, 2011 at 11:06 PM, Etienne Laurin <etienne at atnnn.com> wrote:
> >> Hello fellow hackers.
> >> Here is a helpful package I wrote to ease the development of projects
> >> using cabal.
> >> It includes a :cabalset ghci command to set ghci options for your
> >> project, and a cabal-ghci executable to launch ghci with those
> >> options.
> > Is :cabalset custom per project or could I put the same things in my ~/.ghci?
> Did you know you can also put a .ghci file in your project dir, and if
> you start ghci from that dir, it will also load that file? I think
> that allows you to replicate some of the functionality of this tool,
> since it allows per project ghci options.
is this well known and documented enough? It seems to me that most
people would not expect that running "ghci" in a directory can cause
arbitrary commands to be executed. This could be a security issue, e.g.
running ghci in a just downloaded software package with a rouge .ghci
file... but I am not sure what can or should be done about it.
Joachim "nomeata" Breitner
mail at joachim-breitner.de | nomeata at debian.org | GPG: 0x4743206C
xmpp: nomeata at joachim-breitner.de | http://www.joachim-breitner.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: This is a digitally signed message part
More information about the Haskell-Cafe