From 85534ad88eff24c643562fd6b8e8150b4df26793 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 8 Jan 2013 17:11:26 +0100 Subject: dirs, altera: Only set ALTERADIR locally --- .zsh/zshenv/00_dirs | 4 +--- .zsh/zshenv/99_altera | 4 +++- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to '.zsh/zshenv') diff --git a/.zsh/zshenv/00_dirs b/.zsh/zshenv/00_dirs index 86bfc2b..c8ad727 100644 --- a/.zsh/zshenv/00_dirs +++ b/.zsh/zshenv/00_dirs @@ -2,15 +2,13 @@ # # Store some often used directory paths in variables # -# Copyright © 2010 Tobias Klauser +# Copyright © 2010-2013 Tobias Klauser # Released under the terms of the Artistic Licence 2.0 # # Source repository: git://git.distanz.ch/dotfiles/zsh.git # export BINDIR= -export ALTERADIR=/opt/altera9.1 - export ZVARDIR=$HOME/.var/zsh # vim:ft=zsh diff --git a/.zsh/zshenv/99_altera b/.zsh/zshenv/99_altera index 7e11b59..bb1f531 100644 --- a/.zsh/zshenv/99_altera +++ b/.zsh/zshenv/99_altera @@ -2,11 +2,13 @@ # # set up Altera specific variables # -# Copyright © 2011 Tobias Klauser +# Copyright © 2011-2013 Tobias Klauser # Released under the terms of the Artistic Licence 2.0 # # Source repository: git://git.distanz.ch/dotfiles/zsh.git +ALTERADIR=/opt/altera9.1 + if [ -d $ALTERADIR ] ; then export LM_LICENSE_FILE=7172@rizzo.zhaw.ch export QUARTUS_64BIT=0 -- cgit v1.2.3-54-g00ecf