Add an entry to your project.clj
's :repl-options
like the following
:repl-options {:init (load-file "src/your-project-specific-file.clj") }
If you'd like your functions to be available in all your REPLs, add an entry the user profile in .lein/profiles.clj
as follows:
{
:user
{:repl-options {:init (load-file "path/to/file.clj")}}
}