Skip to content

Instantly share code, notes, and snippets.

@stuartwakefield
Created May 23, 2013 16:03
Show Gist options
  • Save stuartwakefield/5637202 to your computer and use it in GitHub Desktop.
Save stuartwakefield/5637202 to your computer and use it in GitHub Desktop.
Registry keys to run clojure .clj scripts without specifying the clojure
Windows Registry Editor Version 5.00
; Make clj runnable by clojure
[HKEY_CLASSES_ROOT\.clj]
@="ClojureScript"
[HKEY_CLASSES_ROOT\ClojureScript]
@="Clojure Script"
[HKEY_CLASSES_ROOT\ClojureScript\shell\open\command]
@="java -jar \path\to\clojure.jar %1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment