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*)))


Posted by Jason Whitlark at 6/29/2012 04:06:00 PM 2 comments:
Labels: clojure
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

About me

Jason Whitlark. Fan of Clojure, Kubernetes, and Overwatch.

Blog Archive

  • ►  2018 (1)
    • ►  November (1)
  • ►  2015 (3)
    • ►  March (1)
    • ►  February (2)
  • ►  2014 (2)
    • ►  June (1)
    • ►  May (1)
  • ▼  2012 (1)
    • ▼  June (1)
      • .emacs style Clojure rc files
  • ►  2011 (4)
    • ►  December (1)
    • ►  September (1)
    • ►  March (2)
  • ►  2010 (3)
    • ►  June (2)
    • ►  April (1)
  • ►  2009 (2)
    • ►  June (1)
    • ►  March (1)
  • ►  2008 (11)
    • ►  November (1)
    • ►  May (8)
    • ►  April (2)

Tags

  • 810
  • adobe
  • camel
  • clojure
  • Clojure 1.10
  • coupling
  • datalog
  • datomic
  • drivers
  • Evolution
  • ipython
  • itsatrick
  • JDK11
  • joel
  • Kubernetes
  • linux
  • microsoft
  • om
  • PaulGraham
  • programming
  • python
  • snippets
  • ubuntu
  • Unix Signals
  • WhereToLive
  • windows
  • wine
Simple theme. Theme images by luoman. Powered by Blogger.