]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - misc/maxima/maxima-init.lisp
Move to misc/ in preparation for merge into new dotfiles repository
[config/dotfiles.git] / misc / maxima / maxima-init.lisp
diff --git a/misc/maxima/maxima-init.lisp b/misc/maxima/maxima-init.lisp
new file mode 100644 (file)
index 0000000..fefdadd
--- /dev/null
@@ -0,0 +1,24 @@
+; Maxima (computer algebra system) configuration file, lisp part.
+;
+; Also have a look at maxima/maxima-init.mac.
+
+; Copyright (C) 2011-2012  Simon Ruderich
+;
+; This file is free software: you can redistribute it and/or modify
+; it under the terms of the GNU General Public License as published by
+; the Free Software Foundation, either version 3 of the License, or
+; (at your option) any later version.
+;
+; This file is distributed in the hope that it will be useful,
+; but WITHOUT ANY WARRANTY; without even the implied warranty of
+; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+; GNU General Public License for more details.
+;
+; You should have received a copy of the GNU General Public License
+; along with this file.  If not, see <http://www.gnu.org/licenses/>.
+
+
+; Set directory for temporary files to ~/.maxima (used for plotting for
+; example). Thanks to rootzlevel in #faui2k9 on IRCnet (2011-05-28 21:52 CET).
+(setf *maxima-tempdir*
+      (namestring (merge-pathnames ".maxima/" (user-homedir-pathname))))