Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion after //
- X-seq: zsh-workers 9384
 
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
 
- To: zsh-workers@xxxxxxxxxxxxxx
 
- Subject: Re: completion after //
 
- Date: Thu, 20 Jan 2000 10:23:47 +0100 (MET)
 
- In-reply-to: Alexandre Duret-Lutz's message of 20 Jan 2000 10:12:26 +0100
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
 
Alexandre Duret-Lutz wrote:
> >>> "Sven" == Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> writes:
> 
> [...]
> 
>  Sven> I fear it will mess up completion inside braces (only if both multiple 
>  Sven> slashes and braces are used at the same time), but: try it. Using a
>  Sven> style for it, of course ;-)
> 
> [...]
> 
> Here is the patch that add a squeeze-slashes style for that.
> I couldn't find any problem with braces completion, but maybe I wasn't
> looking the right direction.
This:
  > zstyle '*' squeeze-slashes yes
  > mkdir foo{,/bar{,/baz{,/plop}}}
  > ls ./////f{o/b/b/p<TAB>
gives:
  > ls ./foo/bar/{baz/plop/
I don't see a solution. But maybe it's seldom enough. Maybe we should
add a comment about this in the docs.
> +  file-patterns		 c:
Uh, oh. Thanks :-}
Bye
 Sven
--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author