Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Sourcing .zshrc from .zprofile causes problems
- X-seq: zsh-users 7823
- From: Philippe Troin <phil@xxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Sourcing .zshrc from .zprofile causes problems
- Date: 12 Aug 2004 23:55:05 -0700
- In-reply-to: <Pine.LNX.4.61.0408122151280.15905@xxxxxxxxxxxxxxxxxx>
- Mail-copies-to: nobody
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <7E0A2482-ECC4-11D8-A541-000A95D2C79E@xxxxxxxxxxxxxxxx> <Pine.LNX.4.61.0408122151280.15905@xxxxxxxxxxxxxxxxxx>
- Sender: Philippe Troin <phil@xxxxxxxx>
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> writes:
> On Thu, 12 Aug 2004, lists wrote:
>
> > if [[ -f ~/.zshrc ]]; then . ~/.zshrc ; fi
> >
> > in my .zprofile
>
> That shouldn't be necessary. The ~/.zshrc is read by all interactive
> shells, and the ~/.zprofile by all login shells. Although it's possible
> to create a non-interactive login shell, it's rather unlikely.
CDE, for one, and some old versions of gnome use a non-interactive
login shell starting the X session.
Phil.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author