Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: directory specific functions and aliases
On Fri, 13 Feb 2015 15:41:38 +0000
Peter Stephenson <p.stephenson@xxxxxxxxxxx> wrote:
> You can easily search backward for a
> file of the same name in a parent directory if you have EXTENDED_GLOB
> set: (../)#.thatdotfilename which will allow you to put in the top level
> of a repository.
Come to think of it, that can produce multiple matches.
(../)#foo(oL[1])
gets you the first one you encounter going up (the one with the shortest
name).
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author