Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion after //
- X-seq: zsh-workers 9387
- From: Alexandre Duret-Lutz <duret_g@xxxxxxxx>
- To: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: completion after //
- Date: 20 Jan 2000 11:21:11 +0100
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: Sven Wischnowsky's message of "Thu, 20 Jan 2000 10:23:47 +0100 (MET)"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <200001200923.KAA22709@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
>>> "Sven" == Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> writes:
[...]
Sven>> ls ./////f{o/b/b/p<TAB>
Sven> gives:
Sven>> ls ./foo/bar/{baz/plop/
Sven> I don't see a solution. But maybe it's seldom enough. Maybe we should
Sven> add a comment about this in the docs.
[...]
I will try later not to rewrite PREFIX and SUFFIX but only the copies
of these used by _path_files. Then,_path_files should complete
as if there no sequence of slashes, but since the line won't be modified,
I suppose the braces won't move.
Index: Doc/Zsh/compsys.yo
--- Doc/Zsh/compsys.yo Thu, 20 Jan 2000 10:18:01 +0100 Alexandre
+++ Doc/Zsh/compsys.yo Thu, 20 Jan 2000 11:10:30 +0100 Alexandre
@@ -1167,9 +1167,10 @@
if it is set to tt(..), only `tt(..)' will be added.
)
item(tt(squeeze-slashes))(
-If set to `true', sequences of slashes (such as tt(foo//bar)) will
-be rewritten with a single slash (tt(foo/bar)) when completing
-directory names.
+If set to `true', sequences of slashes (like in `tt(foo//bar)') will be
+rewritten with a single slash (`tt(foo/bar)') when completing directory
+names. Using this style can confuse tt(zsh) if slashes get squeezed
+before braces completion (e.g. when trying to complete `tt(//{etc)').
)
item(tt(stop))(
If set to `true', the tt(_history_complete_word) bindable
--
Alexandre Duret-Lutz
Messages sorted by:
Reverse Date,
Date,
Thread,
Author