Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ZDOTDIR
- X-seq: zsh-users 2854
- From: "V. L. Simpson" <vls@xxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: ZDOTDIR
- Date: Sat, 8 Jan 2000 14:25:32 -0600 (CST)
- In-reply-to: <20000107011147.A1802@localhost>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <20000107011147.A1802@localhost>
- Reply-to: vls@xxxxxxxxxxxxxxxxxx
>>>>> "Shao" == Shao Zhang <shao@xxxxxxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author