summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zsh/zshenv/01_path1
-rw-r--r--.zsh/zshenv/99_matlab14
2 files changed, 15 insertions, 0 deletions
diff --git a/.zsh/zshenv/01_path b/.zsh/zshenv/01_path
index 03d49c9..fce606a 100644
--- a/.zsh/zshenv/01_path
+++ b/.zsh/zshenv/01_path
@@ -39,5 +39,6 @@ path_append /opt/nios2mmu/x86-linux2/bin
path_append /opt/codesourcery/arm-2010.09/bin
path_append /opt/android-sdk-linux_86
path_append /opt/local/bin
+path_append /opt/MATLAB/R2012a/bin
# vim:ft=zsh
diff --git a/.zsh/zshenv/99_matlab b/.zsh/zshenv/99_matlab
new file mode 100644
index 0000000..f4c42bb
--- /dev/null
+++ b/.zsh/zshenv/99_matlab
@@ -0,0 +1,14 @@
+# zshenv/99_matlab
+#
+# Set up MATLAB specific variables
+#
+# Copyright © 2012 Tobias Klauser <tklauser@distanz.ch>
+# Released under the terms of the Artistic Licence 2.0
+#
+# Source repository: git://git.distanz.ch/dotfiles/zsh.git
+
+# make MATLAB run on awesome/dwm
+export MATLAB_JAVA=/usr/lib/jvm/java-6-openjdk-amd64/jre
+export _JAVA_AWT_WM_NONREPARENTING=1
+
+# vim:ft=zsh