Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Re: Use of named directories in completions broken.
- X-seq: zsh-workers 14162
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: PATCH: Re: Use of named directories in completions broken.
- Date: Mon, 30 Apr 2001 13:25:09 +0200 (MET DST)
- In-reply-to: <Tc0a88d01533b8f857e@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Peter Stephenson wrote:
> > Yes, ahem, I said in a comment above the thin in the patch that I'm not
> > completely sure about the pattern(s) to use. The old pattern made it
> > consider anything with just a tilde in it to be interesting to expand.
>
> This works fine, but it would presumably be OK if the ~ in question were
> only at the start of the word.
I thought the same at first, couldn't immediately come up with a simple
enough pattern for that and then remembered that in `echo a~b' the `a~b'
isn't treated as a pattern unless there are other pattern characters,
too. So, that change should be ok (now that I remembered to add the
parentheses to the pattern).
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author