Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion of files with spaces in
- X-seq: zsh-workers 5942
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Completion of files with spaces in
- Date: Thu, 25 Mar 1999 17:29:34 +0100 (MET)
- In-reply-to: Bruce Stephens's message of 25 Mar 1999 16:19:27 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Bruce Stephens wrote:
> With zsh-3.1.5-pws-13, zsh -f, files with spaces in don't seem to get
> quoted properly.
>
> So if I have the file "readme - corrections.txt", and I type:
>
> % less read<TAB>
>
> I get
>
> % less readme -
>
> I was expecting the spaces to be quoted with \.
>
> I'm sure this worked once. What's happened?
Me -- breaking up things (my favorite pastime).
Bye
Sven
diff -u os/Zle/zle_tricky.c Src/Zle/zle_tricky.c
--- os/Zle/zle_tricky.c Thu Mar 25 15:31:01 1999
+++ Src/Zle/zle_tricky.c Thu Mar 25 17:26:47 1999
@@ -3644,7 +3646,8 @@
isalt = 1;
}
if (!(ms = comp_match(fpre, fsuf, s, filecomp, &lc,
- (addwhat == CC_FILES || addwhat == -6),
+ (addwhat == CC_FILES || addwhat == -6 ||
+ addwhat == -5 || addwhat == -8),
&bpl, &bsl, &isexact)))
return;
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author