zsh-users
 help / color / mirror / code / Atom feed
From: Zach Riggle <zachriggle@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Roman Neuhauser <neuhauser@sigpipe.cz>, Zsh Users <zsh-users@zsh.org>
Subject: Re: Silly question on :h and = expansion
Date: Tue, 17 Aug 2021 18:27:02 -0500	[thread overview]
Message-ID: <CAMP9c5mnGHC4tbtLnx6-3tGho6-xEPrmZsr_ntymZg2vqYcP6g@mail.gmail.com> (raw)
In-Reply-To: <CAH+w=7a5eybKqGC1ia-Pzq_Ru1521bNmS5G3_uDWDcVxBrrtFw@mail.gmail.com>

Awesome!!! These are all wonderful.  "=foo(:h)" is the most concise
way I see, and fits with my style.

Thank you so much guys, and Paul for showing me a new trick.

Zach Riggle

On Tue, Aug 17, 2021 at 4:50 PM Bart Schaefer <schaefer@brasslantern.com> wrote:
>
> On Tue, Aug 17, 2021 at 2:35 PM Roman Neuhauser <neuhauser@sigpipe.cz> wrote:
> >
> > btw how long has :c been there?  i only noticed it a few weeks ago.
>
> 2009-03-23 it looks like.
>
> Sadly (?) although you can write foo(:c:h) without getting "illegal
> modifier" or "modifier failed", "foo" has to be a file in the current
> directory before :c can tell you whether it's also somewhere in the
> command path.


  reply	other threads:[~2021-08-17 23:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-17 17:39 Zach Riggle
2021-08-17 17:59 ` Bart Schaefer
2021-08-17 21:35   ` Roman Neuhauser
2021-08-17 21:49     ` Bart Schaefer
2021-08-17 23:27       ` Zach Riggle [this message]
2021-08-18  0:12         ` Bart Schaefer
2021-08-18  2:55           ` Mikael Magnusson
2021-08-18  3:25             ` Bart Schaefer
2021-08-17 21:31 ` Paul
2021-08-17 21:39   ` Roman Neuhauser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMP9c5mnGHC4tbtLnx6-3tGho6-xEPrmZsr_ntymZg2vqYcP6g@mail.gmail.com \
    --to=zachriggle@gmail.com \
    --cc=neuhauser@sigpipe.cz \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).