Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: start zsh while skipping all files
- X-seq: zsh-users 11020
- From: "Matt Wozniski" <godlygeek@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: start zsh while skipping all files
- Date: Thu, 23 Nov 2006 22:50:41 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sC0v1TzXuVjRpgkV7fSlBxmXNUFKl9xNCZJz+rehbT8v5taRDLzqtSuD9VQRoWby+jGjGDC2HaRQY2RAEWyUQM5GuL1D8ow7G5BHW8VaQI+wW1mTIF2U8zrxFmtMayFupHLldldjdBXCHluHwD1FZIN7d4P1VlFTGFcaH/tBNdE=
- In-reply-to: <ECAB58C6-30BB-4E8F-85C5-2638E819F5DB@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <ECAB58C6-30BB-4E8F-85C5-2638E819F5DB@xxxxxxxxxxxxxxxxxx>
- Reply-to: mjw@xxxxxxxxxx
Is there a way to start zsh and force it to skip everything,
including /etc/zshenv ?
well.... from inside of zsh, "ARGV0=sh zsh +i" should source no files,
I believe. It puts zsh into sh emulation mode and tricks it into
thinking that the shell isn't interactive, even though it is, to
prevent sourcing /etc/profile. The bash command to do the same would
be "exec -a sh zsh +i". I can think of absolutely no time when you
would ever want to do this, though. Are you sure that bypassing
/etc/zshenv is actually what you want to do? Can you give a better
description of whatever problem you're facing?
~Matt
On 11/23/06, William Scott <wgscott@xxxxxxxxxxxxxxxxxx> wrote:
Is there a way to start zsh and force it to skip everything,
including /etc/zshenv ?
I RTFM and it looks like there is not
(eg: "/etc/zshenv -- Always run for every zsh." )
but I thought I should ask before giving up.
Thanks.
Bill
Messages sorted by:
Reverse Date,
Date,
Thread,
Author