zsh-users
 help / color / mirror / code / Atom feed
From: "V. L. Simpson" <vls@m-net.arbornet.org>
To: zsh-users@sunsite.auc.dk
Subject: Re: ZDOTDIR
Date: Sat, 8 Jan 2000 14:25:32 -0600 (CST)	[thread overview]
Message-ID: <14455.40252.711533.441183@godzilla.micronet> (raw)
In-Reply-To: <20000107011147.A1802@localhost>

>>>>> "Shao" == Shao Zhang <shao@shaoz.dhs.org> 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


  reply	other threads:[~2000-01-08 20:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-06 14:11 ZDOTDIR Shao Zhang
2000-01-08 20:25 ` V. L. Simpson [this message]
2014-03-10 11:51 zdotdir Yuri D'Elia
2014-03-10 12:01 ` zdotdir Aaron Kaufman
2014-03-10 13:03   ` zdotdir Yuri D'Elia
2014-03-10 15:32 ` zdotdir Bart Schaefer
2014-03-10 17:28   ` zdotdir Yuri D'Elia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14455.40252.711533.441183@godzilla.micronet \
    --to=vls@m-net.arbornet.org \
    --cc=zsh-users@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).