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