From 5b79c81dadc668ad92a2fd2d45ab61f53f370dd0 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 28 May 2011 23:04:08 +0200 Subject: [PATCH] maxima: Add, a symbolic algebra program. Store temporary files in ~/.maxima/ and not in ~/. --- .gitignore | 1 + maxima/maxima-init.lisp | 7 +++++++ setup.sh | 9 +++++++++ 3 files changed, 17 insertions(+) create mode 100644 .gitignore create mode 100644 maxima/maxima-init.lisp create mode 100755 setup.sh diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e3dd230 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/maxima/maxout.gnuplot_pipes diff --git a/maxima/maxima-init.lisp b/maxima/maxima-init.lisp new file mode 100644 index 0000000..ec1dcf0 --- /dev/null +++ b/maxima/maxima-init.lisp @@ -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 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 -- 2.45.2