diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2013-01-08 17:11:26 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2013-01-08 17:11:26 +0100 |
commit | 85534ad88eff24c643562fd6b8e8150b4df26793 (patch) | |
tree | 74e2a0f18975ff23f19e6859d93496385c5c1b2d | |
parent | 2f5fb91aed51a13f6a145600505085780c92ddb7 (diff) |
dirs, altera: Only set ALTERADIR locally
-rw-r--r-- | .zsh/zshenv/00_dirs | 4 | ||||
-rw-r--r-- | .zsh/zshenv/99_altera | 4 |
2 files changed, 4 insertions, 4 deletions
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 <tklauser@distanz.ch> +# Copyright © 2010-2013 Tobias Klauser <tklauser@distanz.ch> # 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 <tklauser@distanz.ch> +# Copyright © 2011-2013 Tobias Klauser <tklauser@distanz.ch> # 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 |