Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Tying multiple environment variables together
- X-seq: zsh-users 3815
- From: Steve Talley <stephen.talley@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Tying multiple environment variables together
- Date: Wed, 11 Apr 2001 10:18:01 -0600
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi,
There are three environment variables that are used by various
programs, that all need to be the same value. From .zshenv:
export JAVA_HOME=/usr/java
export JDKHOME=$JAVA_HOME
export JDK_HOME=$JAVA_HOME
Unfortunately when I change the value of one I have to change all
three. Is it possible to tie the values together, so that after
changing one they all get changed? Something along the lines of
typeset -T, but for environment variables?
Thanks,
Steve
Messages sorted by:
Reverse Date,
Date,
Thread,
Author