From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20697 invoked from network); 8 Jan 2000 20:24:27 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 8 Jan 2000 20:24:27 -0000 Received: (qmail 5526 invoked by alias); 8 Jan 2000 20:24:16 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2854 Received: (qmail 5517 invoked from network); 8 Jan 2000 20:24:15 -0000 X-Authentication-Warning: godzilla.micronet: vls set sender to vls@m-net.arbornet.org using -f From: "V. L. Simpson" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14455.40252.711533.441183@godzilla.micronet> Date: Sat, 8 Jan 2000 14:25:32 -0600 (CST) To: zsh-users@sunsite.auc.dk Subject: Re: ZDOTDIR In-Reply-To: <20000107011147.A1802@localhost> References: <20000107011147.A1802@localhost> X-Mailer: VM 6.75 under Emacs 20.5.1 Reply-To: vls@m-net.arbornet.org >>>>> "Shao" == Shao Zhang writes: Shao> Hi, According to the man pages, ZDOTDIR is the directory Shao> used by zsh to search for shell startup files(.zshrc etc). Shao> But, what is the ideal place to define this variable?? Shao> I would really like to do it in .zshrc, but I cannot since Shao> zsh uses it to find where .zshrc is. Shao> Thanks for any help. Shao> Shao. Put it in $HOME/.zshenv Heres mine as an example #!/bin/zsh ZDOTDIR=~/.zshell export X11HOME=/usr/X11 export TEXHOME=/usr/share/texmf path=(~/bin .) path=($path /bin /usr/bin) path=($path $X11HOME/bin /usr/local/bin) path=($path $TEXHOME/bin) Vance