Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: Problem with _expand, _path_files, and $(command)



Bart Schaefer wrote:

> } I found another one: completion after something like `../$[4+]/'
> [...]
> } Blah. Very ugly. For now I had to add some $(print...)s, does anyone
> } see a better solution?
> 
> Yes:  Use `eval'.  `$(print -r ...)' won't do the right thing in the
> array context, will it?  For file names with embedded spaces, etc.?

Argh, right. I just couldn't think of...

> The one remaining problem is that zwarn() calls trashzle() even when
> stderr has been redirected away from the terminal.  Does anyone see a
> problem with the utils.c patch below?

...this. Looks sensible.


Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author