
Hi, Am Samstag, den 10.09.2011, 11:26 +0200 schrieb Erik Hesselink:
On Fri, Sep 9, 2011 at 22:17, Jason Dagit
wrote: On Thu, Sep 8, 2011 at 11:06 PM, Etienne Laurin
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. Greetings, Joachim -- Joachim "nomeata" Breitner mail@joachim-breitner.de | nomeata@debian.org | GPG: 0x4743206C xmpp: nomeata@joachim-breitner.de | http://www.joachim-breitner.de/