Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh handling of non-standard if-evaluations
- X-seq: zsh-users 11167
- From: Daniel Qarras <dqarras@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: zsh handling of non-standard if-evaluations
- Date: Wed, 31 Jan 2007 10:18:36 -0800 (PST)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=eTOwP4EQwlT7k4yUcSeCEfY1v+mHAbTabr7InE5ijT2LmBzA2IzkbJvGG9VpstUhK1Bm6aSmRNFtMmLGdpVysGIrxAhN0t3OlBD5IECHHkKiNpsXXAwfT1yu3rbC27YsSchlbTHBgsoIKc86f7z9vA+GNTMrGoBY4SgNAPH2nUE= ;
- In-reply-to: <070130200305.ZM14402@xxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi!
--- Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> Yes, I've been annoyed with RedHat's zsh packaging for years now. At
> least it's gotten slightly better; if you saw what they had back in
> RH5 and RH6 you'd be using stronger expletives than "uh, oh."
:)
> The thing to do is put
>
> setopt no_global_rcs
>
> in your ~/.zshenv. That will disable reading of all the /etc/z*
> files except /etc/zshenv.
Thanks for the reminder, now I think I have cooked up an ideal
solution, at least for me. I summary:
~/.zshenv does only setopt no_global_rcs
~/.zprofile sources /etc/profile using sh emulation, then adjusts
paths, sets environment variables, i.e., things that get inherited
~/.zshrc defines aliases/funtions/completion control
~/.zlogin handles ssh keys using keychain(1)
In my "use cases" this works perfectly. (I always do one of the
following: on local computer, console login / on local computer, using
X/xterm / logging to a remote computer via ssh.)
Thanks!
____________________________________________________________________________________
The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
Messages sorted by:
Reverse Date,
Date,
Thread,
Author