Codeabout
Like Walkabout, except without Jenny Agutter. Or Australia...
Friday, June 29, 2012
.emacs style Clojure rc files
The following will let you run clojure code in the current namespace, from a dotfile in your home directory.
(require '[clojure.java.io :as io])
(load-string (slurp (io/file (System/getenv "HOME") *rc-file*)))
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)