Zsh Mailing List Archive
Messages sorted by:
Re: what is the effect of a percentage sign (%) as last character on the command line
- X-seq: zsh-users 14734
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- To: Peter <vmail@xxxxxxxxxxxxx>
- Subject: Re: what is the effect of a percentage sign (%) as last character on the command line
- Date: Fri, 22 Jan 2010 23:59:15 +0100
- Cc: zsh-users@xxxxxxx
- In-reply-to: <4B5A26BA.5080307@xxxxxxxxxxxxx> (Peter's message of "Fri, 22 Jan 2010 23:29:14 +0100")
- List-help: <mailto:email@example.com>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:firstname.lastname@example.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <4B582F3C.2010709@xxxxxxxxxxxxx> <100121080540.ZM21444@xxxxxxxxxxxxxxxxxxxxxx> <4B58AB3A.7050300@xxxxxxxxxxxxx> <m3fx5y2le2.fsf@xxxxxxxxxxxxxx> <87hbqdu9xs.fsf@xxxxxxxxxxxxxxxxxxxxxx> <4B5A26BA.5080307@xxxxxxxxxxxxx>
>>> It'd be really nice if you could at least have zsh tell you where it's
>>> going to look for the global startup files..
>> Well, there's no built-in way, but there's this trick that works rather
>> % strings =zsh | grep '^/.*zshenv'
>> Regards, Frank
> Well, er , nice approach (;-
> Although its elegance is undeniable, it still doesn't tell me if one
> of the numerous potential other startup files got read ( zprofile,
> .zshenv, etc ) . Of course , I can check
> manually if they are there , but this is still errorprone because it
> is easy to forget one.
Yes, I was refering what Greg said. As in the part I quoted.
I don't know of a way to make zsh tell which files it would source in
certain modes. There is documentation, however, that will tell you which
files will be used in which mode if they exist. The zshwiki has a page,
that summarises all that: <http://zshwiki.org/home/config/files>
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
-- RFC 1925
Messages sorted by: