(! 540)-> export MY_VAR=foo
Mon Jul 07 12:26:01
(sean)-(jobs:0)-(~/clojure)
(! 541)-> lein repl
REPL-y 0.3.1
Clojure 1.6.0
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Source: (source function-name-here)
Javadoc: (javadoc java-object-or-class-here)
Exit: Control+D or (exit) or (quit)
Results: Stored in vars *1, *2, *3, an exception in *e
user=> (System/getenv "MY_VAR")
"foo"
How are you starting your REPL processes? Maybe you're starting them from an environment that does not pick up the same environment?
Sean