Hey, thanks so much guys, that's exactly what I was looking for. I
completely forgot about this since it's been so long since I read the
Getting Started portion of the Clojure website.

Anyway, it may be helpful for other's like me who are looking for a
similar answer to know that to get this to work, the directory within
which your user.clj file resides needs to be on the CLASSPATH, not the
file itself.

Also, I made mine a pointer to a .cljrc file in my home directory so
that I could keep all of my init code in a similar place/format.

Thanks again for the help.

Christopher

On Mar 6, 2:49 pm, Paul Stadig <p...@stadig.name> wrote:
> You can create a user.clj file in your classpath, and it will get
> loaded when Clojure is run, with the REPL or not.
>
> Paul
>
> On 3/6/09, Christopher <vth...@gmail.com> wrote:
>
>
>
>
>
> > Does anyone know if there is a way to setup your Clojure REPL with an
> > initialization file like how SBCL works with a .sbclrc file? I'd like
> > to have my REPL automattically use some of the libraries in
> > clojure.contrib such as the repl-utils and the stacktrace libraries
> > whenever it first loads.
>
> > Thanks for your in advance.
>
> > Christopher
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to