On Wed 14 May 2014 at 02:41:39PM -0800, Christopher Howard wrote:

> Hey all, I want
>
> (set! *print-length* 40)
>
> to be run each time I open "lein repl" (regardless of the project,
> preferably). I thought that is what the ~/.lein/init.clj file was for,
> but apparently not.

Set {:repl-options {:init (set! *print-length* 40)}} in your :user
profile in ~/.lein/profiles.clj.

https://github.com/technomancy/leiningen/blob/master/sample.project.clj#L311

    guns

Attachment: pgpSx2dX6LKDq.pgp
Description: PGP signature

Reply via email to