]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
maxima: Add, a symbolic algebra program.
authorSimon Ruderich <simon@ruderich.org>
Sat, 28 May 2011 21:04:08 +0000 (23:04 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sat, 28 May 2011 21:05:07 +0000 (23:05 +0200)
Store temporary files in ~/.maxima/ and not in ~/.

.gitignore [new file with mode: 0644]
maxima/maxima-init.lisp [new file with mode: 0644]
setup.sh [new file with mode: 0755]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..e3dd230
--- /dev/null
@@ -0,0 +1 @@
+/maxima/maxout.gnuplot_pipes
diff --git a/maxima/maxima-init.lisp b/maxima/maxima-init.lisp
new file mode 100644 (file)
index 0000000..ec1dcf0
--- /dev/null
@@ -0,0 +1,7 @@
+; Maxima (computer algebra system) configuration file, lisp part.
+
+
+; Set directory for temporary files to ~/.maxima (used for plotting for
+; example). Thanks to rootzlevel in #faui2k9 on IRCnet (2011-05-28 21:52).
+(setf *maxima-tempdir*
+      (namestring (merge-pathnames ".maxima/" (user-homedir-pathname))))
diff --git a/setup.sh b/setup.sh
new file mode 100755 (executable)
index 0000000..1cd77be
--- /dev/null
+++ b/setup.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# Setup script for miscellaneous configuration files.
+
+
+. ../lib.sh
+
+# Maxima, a symbolic algebra program.
+rink maxima ~/.maxima