summaryrefslogtreecommitdiff
path: root/.zsh/zshenv
diff options
context:
space:
mode:
Diffstat (limited to '.zsh/zshenv')
-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 a8d56af..f1cf818 100644
--- a/.zsh/zshenv/01_path
+++ b/.zsh/zshenv/01_path
@@ -40,5 +40,6 @@ path_prepend /opt/codesourcery/nios2-4.1-211/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