aboutsummaryrefslogtreecommitdiff
path: root/clojure/src
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-03-29 15:00:07 -0500
committerJoel Martin <github@martintribe.org>2014-03-29 15:00:07 -0500
commitdc7938d8e69982b2574a8e2e9fd1ca97b33f6e28 (patch)
tree4d158f596511fa5d5f9fd2272c738724ed0fd63a /clojure/src
parent285b5ba7934222316872f189f886d1b9cec90793 (diff)
downloadmal-dc7938d8e69982b2574a8e2e9fd1ca97b33f6e28.tar.gz
mal-dc7938d8e69982b2574a8e2e9fd1ca97b33f6e28.zip
Clojure, Java, PHP: remove hardcoded readline history path.
Diffstat (limited to 'clojure/src')
-rw-r--r--clojure/src/readline.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/clojure/src/readline.clj b/clojure/src/readline.clj
index dbd4872..0fc449a 100644
--- a/clojure/src/readline.clj
+++ b/clojure/src/readline.clj
@@ -3,7 +3,7 @@
[net.n01se.clojure-jna :as jna]))
(defonce history-loaded (atom nil))
-(def HISTORY-FILE "/home/joelm/.mal-history")
+(def HISTORY-FILE (str (System/getProperty "user.home") "/.mal-history"))
;;
;; Uncomment one of the following readline libraries