Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Broken /etc/zshrc ?
- X-seq: zsh-users 4148
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Vincent Lefevre <vincent@xxxxxxxxxx>, zsh-users@xxxxxxxxxx
- Subject: Re: Broken /etc/zshrc ?
- Date: Sun, 19 Aug 2001 23:45:24 +0000
- In-reply-to: <20010819211246.A2466@xxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20010819175147.A1889@xxxxxxxxxxxx> 	<1010819180607.ZM17395@xxxxxxxxxxxxxxxxxxxxxxx> 	<20010819211246.A2466@xxxxxxxxxxxx>
On Aug 19,  9:12pm, Vincent Lefevre wrote:
}
} So, is sourcing the /etc/profile a good idea? Shouldn't it be sourced
} only if the shell is a login shell?
If it were sourced from /etc/zprofile, then it would be sourced only if
the shell were a login shell, because that's the rule for /etc/zprofile.
} >     [[ -o login && -r /etc/zprofile ]] && source /etc/zprofile
} >     [[ -o interactive && -r /etc/zshrc ]] && source /etc/zshrc
} >     [[ -o login && -r /etc/zlogin ]] && source /etc/zlogin
} 
} OK, if I need to read these files, I'll do this.
You may not need to read those files.  It depends on what the sysadmin
has put in them.  E.g., as I mentioned before, on Mandrake your local
language environment won't be set up correctly if you don't read them.
I don't know about SuSE.
-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   
Messages sorted by:
Reverse Date,
Date,
Thread,
Author