Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Sourcing .zshrc from .zprofile causes problems



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