Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Understanding why...
- X-seq: zsh-users 22800
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Clint Priest <cpriest@xxxxxxxxxxxxxxxx>
- Subject: Re: Understanding why...
- Date: Mon, 7 Aug 2017 22:25:47 -0700
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=16e3w5f0pjJlAIpgAxIRUD2KjK630UDhvs0lLZok4fQ=; b=xsNeP3I18w5m8tlXN22QdTTdi8UhFwedJ4UiqSU3UueMOJZXufuUr0iBEhkxuJDwsq Zr3fGmdW90HlOSLIQEfyEB1XlbN5mdNtuen0Mz3n5KVwqKEGKA+OWvA0d67VQgtJ9aqt W1NA8F3B5pO3czqe7xHSYfa/p9m9wYmuBPbGvyculQYxf5HMs8mkgbCr978lLO2dWJFg LcL21Dh7EWNLPnVOerFb27FTDrtRz3iHryazU/4c24M8IXv3azfOphKhNjbQ6I8cdy2d IZRuziLJ5ltuo9Nzl9ulxJArRdM88jGPfSA4iKmdUeFl8Sw4oYYLseXsEaYehb3ND9Q+ vIYA==
- In-reply-to: <d90abb51-c3f5-8385-8259-07bff97db2e6@zsh-users.rxv.me>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20b0b8aa-6db5-9b61-961c-b9a7ba10f34d@zsh-users.rxv.me> <CAH+w=7YoRg7whrUAdCwMsbiUPFJnJMT5nvq_SdOO7BZd7ocdCg@mail.gmail.com> <d90abb51-c3f5-8385-8259-07bff97db2e6@zsh-users.rxv.me>
On Mon, Aug 7, 2017 at 6:26 PM, Clint Priest <cpriest@xxxxxxxxxxxxxxxx> wrote:
> Interesting, when you say by default, is that an option that can be changed?
When I say "by default", I mean "you change it by adding (@)".
> Thanks for that tidbit, any chance you know in the manual whereabouts it
> talks about this inner splitting and outer preservation?
>> On 8/7/2017 7:36 PM, Bart Schaefer wrote:
>> e.g., search for the string "Rules" in "man zshexpn".
> Also (and I had tried to do this), is it possible to break out the nested
> expansions into their separate parts to see what is going on (via trace)?
Sure; setopt xtrace and then compare
: ${(s/:/)${LS_COLORS%:}}
: ${(s/=/)${(s/:/)${LS_COLORS%:}}}
: ${(@s/=/)${(s/:/)${LS_COLORS%:}}}
(where ":" is the no-op command that discards its arguments)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author